J
Jerry Spence1
I am using the BackgroundWorker in VB2005.
I understand the problems of updating a form from a thread, and this can
normally be overcome by doing the updating on the ProgressChanged Event. As
I understand it, this event will operate on the thread that invoked the
original RunWorkerAsync (which may not be the UI thread).
I have a thread, which calls another thread and it is in this thread that I
need to update the form. I have read much about call backs and delegates but
this seems to refer to life before the BackGroundWorker was introduced (whch
I thought did away with all this).
What is the best way for me to update the form in the above circumstances?
-Jerry
I understand the problems of updating a form from a thread, and this can
normally be overcome by doing the updating on the ProgressChanged Event. As
I understand it, this event will operate on the thread that invoked the
original RunWorkerAsync (which may not be the UI thread).
I have a thread, which calls another thread and it is in this thread that I
need to update the form. I have read much about call backs and delegates but
this seems to refer to life before the BackGroundWorker was introduced (whch
I thought did away with all this).
What is the best way for me to update the form in the above circumstances?
-Jerry