Opening a text file from the bin folder and displaying in a listbox
Hi
I am trying to open a text file using the FileOpen command and display the file in a listbox...but i am not sure how to go about this? any help?
this is what i have so far but im unsure where to go from here
Dim strname As String
FileOpen(1, "Programs.txt", OpenMode.Input)
Do While Not EOF(1)
Input(1, strname)
programslistbox.Text = strname & ControlChars.NewLine
Loop
FileClose(1)
any help is appreciated

mibuytRank #3,026 · 476 reputationPosted Mar 12, 2005, 12:55 PM EST
tdpowell2348 reputationPosted Mar 12, 2005, 1:33 PM EST
tdpowell2348 reputationPosted Mar 12, 2005, 1:51 PM EST
mibuytRank #3,026 · 476 reputationPosted Mar 13, 2005, 2:24 AM EST
tdpowell2348 reputationPosted Mar 13, 2005, 4:45 AM EST
mibuytRank #3,026 · 476 reputationPosted Mar 13, 2005, 3:04 PM EST
mibuytRank #3,026 · 476 reputationPosted Mar 13, 2005, 3:06 PM EST
tdpowell2348 reputationPosted Mar 13, 2005, 4:48 PM EST
mibuytRank #3,026 · 476 reputationPosted Mar 13, 2005, 4:51 PM EST