Thanks for the reply,
I get this error:
System.IndexOutOfRangeException was unhandled
Message="Index was outside the bounds of the array."
The textbox where I am trying to write text to is empty.
vb.net Code:
Dim lines As String() = TextBox1.Lines lines(0) = "test" TextBox1.Lines = lines




Reply With Quote