Exeptions
I am writing a communication program for the Serial port (COM1).
This works fine for sending data over the comport (SerialPort1.Write(TextBox.Text)
e.t.c..
For receiving data from the comport i wrote the following code:
Private Sub SerialPort1_DataReceived(ByVal SENDER As System.Object.......)
.......
RxTextBox.Text = (SerialPort1.ReadingExisting)
.......
Now a get the next message:
InvalidOperationExeptionwas unhandled
Cross-thread operation not valid:Control "RxTextBox" accessed from a thread
other than the thread it was created on.
Could anyone tell me wat this is , and how to get it right?
Many thanks
Peter

