A
Armon Myrick
The textbox will not goto next line when addindg a new string or VBCrLf.
All the lines are put on the first line of the textbox. I need to put a
textfile in the Textbox using streamreader. Wordwrap=false, multiline=True,
scrollbars = both. Sample code is included. Using it as a test bed.
References are correct.
Dim sr As StreamReader = New StreamReader("\storage
card\cncmgr\setting.txt")
Dim input As String
input = sr.ReadLine()
While Not input Is Nothing
TextBox1.Text = input + vbCrLf
input = sr.ReadLine()
End While
sr.Close()
A far as I can see, this should work.
Thanks for any help
A. Myrick
All the lines are put on the first line of the textbox. I need to put a
textfile in the Textbox using streamreader. Wordwrap=false, multiline=True,
scrollbars = both. Sample code is included. Using it as a test bed.
References are correct.
Dim sr As StreamReader = New StreamReader("\storage
card\cncmgr\setting.txt")
Dim input As String
input = sr.ReadLine()
While Not input Is Nothing
TextBox1.Text = input + vbCrLf
input = sr.ReadLine()
End While
sr.Close()
A far as I can see, this should work.
Thanks for any help
A. Myrick