Multithreading question

  • Thread starter Thread starter VIhsuna
  • Start date Start date
V

VIhsuna

I would appreciate any help on this Multithreading
question.

On click of a button, I have a new thread created for a
long process simultaniously displaying a "Please wait"
GIF.
Dim Thread1 as New System.Threading.Thread(AddressOf
SomeTask)

PleaseWait.gif = visible
Thread1.Start()

"Sometask" fires of a long process.The GIF does become
visible immidiately and the "SomeTask" process runs in
the background (I checked this in the debug). The problem
is the results of the "SomeTask" does not show up on the
screen. Withiin the "SomeTask" I have code to hide the
GIF. But this also does not happen on the screen.

The results of the server needs to be refreshed on the
screen. How should I do that?

Any help is apreciated.

Vih
 
Back
Top