Cross-thread operation not valid ???



I receive this message:
"System.InvalidOperationException: Cross-thread operation not valid: Control [your_control_name_here] accessed from a thread other than the thread it was created on"
....
this is a exception. Can fix it?

.



Relevant Pages

  • Re: Set up Display on status line with Threading
    ... Cross-thread operation not valid: Control 'Status' accessed from a ... Maintenance function: ... The same method accessing the same object would not throw the exception if executed on one thread, and yet would throw the exception if executed on a different thread. ...
    (microsoft.public.dotnet.languages.csharp)
  • Cross-thread operation not valid
    ... Cross-thread operation not valid: Control 'ThreadStartedAt' accessed from a thread other than the thread it was created on ... I get this Exception when I try to update some labels/textbox's from a Thread... ... I have read something about that I can use Delegates/Invoke and stuff in that direction, but I'm not that far in my book now that I understand how all that works.... ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Multithreaded GUI issues
    ... The code is happening in a try/catch handler, but the exception is taking place in a callback thread that I have no control over. ... were actually trying to close a socket at the time the exception occurred, so you might want to check to see why something is trying to close a socket when you don't expect to. ... But how do I know that creating an Image object is thread safe? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: New Visual Studio 6.0 Service Pack 6 coming... (with VB6 fixes) !
    ... > 279739 FIX: Switching tabs of SSTab control may cause desktop to be ... > 293295 BUG: PDW package cannot be installed if user name is based on ... > ActiveX control in a Visual Basic COM DLL ... > 315290 Events do not fire when you use WithEvents for a WebClass ...
    (microsoft.public.vb.general.discussion)
  • Re: New Visual Studio 6.0 Service Pack 6 coming... (with VB6 fixes) !
    ... > 279739 FIX: Switching tabs of SSTab control may cause desktop to be ... > 293295 BUG: PDW package cannot be installed if user name is based on ... > ActiveX control in a Visual Basic COM DLL ... > 315290 Events do not fire when you use WithEvents for a WebClass ...
    (microsoft.public.vb.general.discussion)