Thread Net

Thread Net
Thread Net

How I can get an animated GIF image to follow during a Thread.Sleep () in Visual Basic.Net?

I'm trying to display an animated GIF image (PBONE) for a second then display a second image (pbTwo) after one second has elapsed. When you run the code, the animated GIF will not animate during the "threading.thread.sleep (1000)." How I can get the animated GIF animation to continue during implementation? Here is the code I'm using currently: = True Me.Update pbOne.Visible () Threading.Thread.Sleep (1000) pbOne.Visible = False = pbTwo.Visible reality thanks in advance for your help!

Are discouraged because this thread is sleeping. You need to put the animation in a separate thread that will continue to operate while the other is sleeping

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
*