Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
[VB 6] Multiple inputs to output
Name: hobblyhoy Date: August 24, 2006 at 00:46:49 Pacific OS: winxp CPU/Ram: 512 Product: 2
Comment:
Alright I've got a list A and a list B. I would like to be able to save list A and list B into one file, which I could later use a LOAD button to load list A and list B into their repsective places.
Basicly I want to be able to save and load the contents of multiple things with one 1 save file. Then later on when I hit a "load" button they place themselves back into there catagories. I'm sure it can be done Im just at a loss for how I would do it. I'm quite a VB6 noob
Thank you for all your help, -Nathan
"the right to swing my arm ends where your nose begins." -Claude Adrien Helvetius
Name: webbg Date: August 28, 2006 at 11:57:43 Pacific
Reply:
One solution which perhaps isn't the most efficient would be to write to your file a number indicating the number of items in list A. Then write all the items from list A. Then a number indicating the number of items in list B. Then all the items from list B.
Then when you want to load them back, the first thing you read tells you how many items to read into list A. Then the next number tells you how many items to read into list B.
Hope that makes some sense!!
0
Response Number 2
Name: SamRock Date: October 5, 2006 at 06:59:01 Pacific
Reply:
How about prefixing each record with 'A' or 'B' or whatever?
So when u read the records, if the prefix is 'A', then Laod into List A else List B.
Summary: I need help with how to link Access and VB 6. I need to link VB forms to Access database. Do I create the database in Access itself or in VB? Also, do I need to change the setting in the ODBC( Data So...
Summary: I am writing a software program in VB 6.0 that accepts input from a user and stores it to an Access database - both text and numeric. How do I declare the variables for these items. For instance, I ha...
Summary: I want to comunicate from my computer to a multimeter, using the serial port COM1, and using the visual Basic 6.0 programing language. I am using the "Microsoft COM Control 6.0" item to counicate, but...