Cags said:What do you mean the last string overwrites the text. You will have to provide some code, as I'm not sure what your problem is.
RichTextBox1.Text += "test2"
' or alternatively
RichTextBox1.Text = RichTextBox1.Text & "test2"
Cags said:Of course it does, I thought that might be what your doing. First you are assigning Test1 and a couple of char return line feeds to the Text property. Then you assign the Text property as equal to test2. Using the uquals operator in this manner will assign the object on the left equal to the object on the right, not add it.
If you wish to append more text you should use one of these methods.
[edit]Beaten to the punch....[/edit]Visual Basic:RichTextBox1.Text += "test2" ' or alternatively RichTextBox1.Text = RichTextBox1.Text & "test2"
TextBox2.AppendText(vbCrLf + "linetest1 ")
TextBox2.AppendText(vbCrLf + "linetest2 " + speaker_status)
TextBox2.AppendText(vbCrLf + ("linetest1 "))
TextBox2.AppendText(vbCrLf + ("linetest2 ") + (speaker_status))
Dim Result As Object
Dim Value1 As Integer = 10
Dim Value2 As Integer = "11"
Result = Value1 + Value2 ' 10 + "11" = 21? Or "1011"?
Result = Value1 & Value2 ' 10 & "11" = "1011" because & can't add.