
09-02-2005, 02:29 PM
|
|
Ultimate Contributor
|
|
Join Date: Apr 2003
Location: Texas, USA
Posts: 1,623
|
|
|
Animated gifs can be a pain, as my experience show, however, you do have options.
An animated gif can be broken down into individual [non-animated] frame. When the frames are switched back and forth, it appears to move. So what you can do is break the gif up into its component pictures (I have seen web sites that will do it for you and then you just save each picture, and there are probably other ways), then you can load eacj picture into a picture box and then cycle through them changing the current frame's visibility to true and all others to false.
You can also use the Web Browser control. This will take advantage of the web browser's ability to play animated gif images, just navigate to the image location.
Another possibility is to use the animated gif control (I think that is its name), this is a glorified picture box that allows animated gif images to be show animated, however the disadvantage to this is that if you use it free, each time you run the program it will let you know that your using someone else's control in the form of a message box. Or you could pay.
There are probably a couple more options I havent thought about, and each of the ones I presented here have their own advantages and disadvantages, see which, if any, you prefer.
|
|