| View previous topic :: View next topic |
| Author |
Message |
sunil21 Newbie
Joined: 23 Dec 2003 Posts: 8
|
Posted: Dec 24th, 2003 01:06 AM Post subject: listbox |
|
|
| how can i load a textfile in a list box |
|
| Back to top |
|
Andir Centurion

Joined: 21 Dec 2003 Posts: 184 Location: Chicago Area
|
Posted: Dec 24th, 2003 01:22 AM Post subject: |
|
|
One line per List item I'm assuming?
| Code: |
intFile = FreeFile ()
Open "path\Filename" for input as #intFile
Do
Line Input #intFile, indata
List1.AddItem indata
Loop Until EOF(intFile)
Close #intFile
|
_________________ If you happen to see little people sitting on your desk...don't tell anyone or they might think your crazy too. |
|
| Back to top |
|
|