I'm running an asynchronous Socket. In the ReceiveCallback method, I need
to append what is received to a textbox on the main form. I have this code:
Private Sub ToChatWindow(By Val msg As String)
txtChat.AppendT ext(msg)
End Sub
I've never used a delegate or invoke before and I'm rather confused on the
topic. Hope someone can help.
Thanks.
to append what is received to a textbox on the main form. I have this code:
Private Sub ToChatWindow(By Val msg As String)
txtChat.AppendT ext(msg)
End Sub
I've never used a delegate or invoke before and I'm rather confused on the
topic. Hope someone can help.
Thanks.
Comment