Use Line Input # statement.
Code:Private Sub Command1_Click() Open "C:\MyTXT.txt" For Input As #1 Do While Not EOF(1) Line Input #1, strLine$ List1.AddItem strLine$ Loop Close #1 End Sub
|
Results 1 to 2 of 2
Thread: Text File into ListboxThreaded View
|
Click Here to Expand Forum to Full Width |