Hi,
You can also read a text file into a listbox using native
VB -- without any references. For instance, assume :"C:\Temp.txt" is the
file containing the info and lstData is the listbox you wish to fill:
' ************************************************** *********
intChan = FreeFile
Open "C:\Temp.txt" For Input As intChan
Do While Not EOF(intChan)
Line Input #intChan, InTxt 'InTxt holds each line of data
lstData.AddItem InTxt
Loop
Close intReadChan
' ************************************************** *********
CarlR