All time, i use this :
Code: Select all
open "file.txt" for input as #1
While Not EOF(1)
Line Input #1, blabla
Lines = Lines + 1
blabla...
...
Wend
Close #1
I have a question, i can get actual line number of #1 ? instead of increment a variable.
Thank