The file is stored as a normal text file. The code from ae_jester is like the one i used before accept for the "Line" in front of "Input". I tried it but it still did not work.
The exact problem is that I have this text file that I would like to display its contents line by line on a text box. I could display it but the lines follow each other directly and not line by line as it is stored in the text file.
Dim strLine As String
Open "C:\Temp\test.txt" For Input As #1
Do While Not EOF(1)
Line Input #1, strLine
txtDisplay.Text = txtDisplay.Text & strLine & Chr(13) & Chr(10)
Loop
Close #1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I've used the original code used, then changed the vbCrLf (I think?) to Chr(13) and Chr(10) which is a Carriage return and line feed...