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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top