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 and Seqeuntial file
Name: mgichoga Date: December 1, 2004 at 11:11:55 Pacific OS: Win XP CPU/Ram: 256
Comment:
hello, I have a problem coding my vb application. I want to retrieve some information from a sequential file and add it to a list box. I have been trying different methods up to and including arrays but I've not been successful. For example, I want to pull part numbers and put it into a listbox from where the user can select the part number he/she wants. Please advise.
Name: PopMon Date: December 5, 2004 at 11:55:44 Pacific
Reply:
One method for populating a Listbox is to use the "AddItem" method. In your case, let's assume that the Listbox is named "List1", and that each part number is "pulled" into a string called "Data". The code for adding the item is:
List1.AddItem Data
I tested this on one of my projects and it worked fine.
Summary: Could someone explain the difference between VBS and VBE files ? I created a logon script that simply creates a desktop shortcut when a certain user logs on, but if I name the script shortcut.VBS it d...
Summary: Hello all Happy New Year Ive created a telephone number and info program it works fine but here is the question. I wrote this program and used a simple text file as the storage space for all my inform...