I've found an open source user control which is effectively a clone (almost) of the VB6 Winsock Control. Yes I know theres many out but this is the only one I can get working - sort of. Find it here:
http://www.codeproject.com/vb/net/winsockdotnet.asp

You remember the VB6 winsock events? Connected, DataArrival etc etc....well this .Net control has those too, and here's the problem:

When I place some simple code within the event such as:
VB Code:
  1. Private Sub Winsock1_Disconnected(ByVal sender As Winsock_Control.Winsock) Handles Winsock1.Disconnected
  2.         Label1.Text = "dc"
  3. 'when the connection is disconnected, set the text of the label
  4.     End Sub

It throws an exception:
Cross-thread operation not valid: Control 'Label1' accessed from a thread other than the thread it was created on.

Surely I should be able to access my controls from the events, otherwise the events here, are pretty much useless??

Thanks, any help is much appreciated as always