Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 20th, 2004, 09:21 AM
Authorized User
 
Join Date: Oct 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default 2 dimensional array program

I need help with the following:

I want to develop a program for school attendance using a 2 dimensional array. I will have textboxes representing Monday through Friday. Also, I have a combo box representing each week. eg: Week1,2...

I want to be able to correspond the attendance each day to the week number and save it to an array.

Any help would be most appreciated. I am using visual basic.net

Thanks

Ken



 
Old December 15th, 2004, 07:50 AM
Registered User
 
Join Date: Feb 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dim Attendance(31 to 31)
dim i as integer
dim j as integer

for i=1 to 4
for j=1 to 5
Attendance(i,j)=textbox(j) & " - " & combobox(i)
next j
next i


Madhivanan





Similar Threads
Thread Thread Starter Forum Replies Last Post
using 2 dimensional array Abraham EJB 0 July 17th, 2007 09:27 AM
two-dimensional array Lizane Java Basics 4 May 23rd, 2007 09:35 AM
2 dimensional array trangd Beginning PHP 0 August 18th, 2005 12:37 AM
2 dimensional array venterjo General .NET 2 January 23rd, 2005 09:04 AM
3 dimensional array with MSChart Bogus Beginning VB 6 1 July 11th, 2003 03:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.