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.
 
Back
Top