You should never access a control except from the thread that created that
control. Use Control.InvokeRequired to check whether you're on the right
thread. If that returns true, you need to use Control.Invoke to get onto the
correct thread before updating the control.
HTH,
Mark
--
Author of "Comprehensive VB .NET Debugging"
http://www.apress.com/book/bookDisplay.html?bID=128
I have an application that downloads web pages, then runs through thte code
of the webpage and displays the output onto a form. The download procedure
freezes up the form unfortunatly so I wanted to run the download code in a
different thread.. only that code runs the display code. I get the error
that one thread cannot edit controls on another thread any idea for a
solution?