Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old November 20th, 2004, 09:21 AM
Authorized User
Join Date: Oct 2004
Location: , , .
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



Reply With Quote
  #2 (permalink)  
Old December 15th, 2004, 07:50 AM
Registered User
Join Date: Feb 2004
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

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

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
using 2 dimensional array Abraham EJB 0 July 17th, 2007 10:27 AM
two-dimensional array Lizane Java Basics 4 May 23rd, 2007 10:35 AM
2 dimensional array trangd Beginning PHP 0 August 18th, 2005 01: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 04:47 PM

All times are GMT -4. The time now is 11:32 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.