9
Reply

opening a text file from the bin folder and displaying in a listbox

tdpowell23

tdpowell23

Mar 12 2005 4:17 PM
2.6k
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

Answers (9)