Re: Threading issues...
- From: "JuanCri" <juancri@xxxxxxxxx>
- Date: 6 Nov 2005 23:00:46 -0800
How are you setting the visual response to the data comming from the
other thread? You should not change the controls from other threads
(only from the main one). If you need to change a control or windows,
you should call to a Invoke method (yourMainForm.Invoke (...)) from the
thread retreiving the data.
More info at:
http://www.codeproject.com/csharp/workerthread.asp
http://msdn.microsoft.com/library/en-us/dncscol/html/csharp09182003.asp
Juan C. Olivares
www.juancri.com
.
- Prev by Date: Re: mySQL connection problem
- Next by Date: Re: mySQL connection problem
- Previous by thread: Creating controls at runtime
- Next by thread: Problem with HttpWebRequest to read a web page
- Index(es):
Loading