How do i alter this code to read the entire txt fileinto my text box without going through each Line input command.
Is there a do EOF for this sort of thing?


Dim intFile As Integer
Dim strText As String



'String Loader
intFile = FreeFile

Open "C:\Test.txt" For Input As #intFile
Line Input #1, strText ' Get text from line 1
Text1.Text = strText
Line Input #1, strText
text2.Text = strText ' Get text from line 2
' repeat process for 3rd line 4th and so on...
Close intFile


Any tips as always are appreciated.

M.