I am trying to read in one line of a text file at a time, basically, the text file will be full of numbers, but i want to read in one line at a time and display it in a text box, i can read in a full text file in one go but i dont know how to read in one line at a time, here is the code that reads in the whole text file, any help would be great, thanks....

'code:

Dim line As String
Open Filename For Input As #1
Do While Not EOF(1)
Input #1, line
Text1.Text = Text1.Text & vbCrLf & line
DoEvents
Loop
Close #1