Here's a little tip that should be enough to get you going (but not enough to do it for you

)
dim data(999) as string 'initialise the array
open "filename" for input as 1 'open the file
for d% = 0 to 999 'start the loop
if eof(1) = false then line input #1, data(d%) 'if the file hasn't ended read in the line
next d% 'end the loop
close 1 'close the file, it's messy to have it open
That's reading stuff into an array. To display it, perhaps you could use the ItemIndex (or whatever it's called) property and read data from the array like data(list.ItemIndex)?
Hope that makes sense,
Reputation Points: 10
Solved Threads: 1
Junior Poster in Training
Offline 73 posts
since Oct 2005