This:
VB Code:
  1. txtDisplay.Text = "waiting for connection" & vbCrLf
is not appending. It is setting. If you need to be able to set the text or append to the text then you need both a SetText method and an AppendText method. Other than that you're exactly right. You just need to follow these steps:

1. Declare the delegate exactly as I have in post #4.
2. Declare and implement the SetText exactly as I have in post #4. If your TextBox is not named TextBox1 then change that appropriately.
3. Declare and implement the AppendText method the same way as SetText, but make that one change as I did in post #18 and you did in post #19.
4. Go through your code and everywhere that you're setting the Text of the TextBox directly you call your SetText method instead. If you're using just "=" then you're setting.
5. Go through your code and everywhere that you're appending to the Text of the TextBox directly you call your AppendText method instead. If you're using "&=" then you're appending.

That's it.