Opening and reading a text file line by line
Posted: Fri May 13, 2011 11:28 am
Please Help!!!
Can anybody tell me how i can open a text file and read it "Line by Line"?
Here is my Visual Basic 6 example.... :
Open "C:Test.txt" For Input As #1
Do While Not Eof(1)
Line Input #1, N$
Msgbox N$
Loop
Close
Many thanks in advance!!!
Can anybody tell me how i can open a text file and read it "Line by Line"?
Here is my Visual Basic 6 example.... :
Open "C:Test.txt" For Input As #1
Do While Not Eof(1)
Line Input #1, N$
Msgbox N$
Loop
Close
Many thanks in advance!!!