Stopping animation

  • Thread starter Thread starter Robert Bravery
  • Start date Start date
R

Robert Bravery

HI all,
I am using beginexecutereader and endexecutereader to run a rather legnthy
SP.
When I start this I enable a animated gif to signify That something is still
working.
Once the SP has finnised, with a callback I present a messagebox signifying
that it is finnised.
Question, how can I stopp, make invissible the animated gif.
If I try it outside of the callback function, then it stops too soon, ifI
try it in the routine I get a thread error.

Thanks
Robert
 
Robert,

In the routine where you get the callback, call the Invoke method on the
control that is showing the animated GIF. Basically, you want to pass a
delegate to a method which will shut off the animation, and then call the
message box function.

Hope this helps.
 

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