Animated GIFs in VB.NET 2005

  • Thread starter Thread starter ZikO
  • Start date Start date
Z

ZikO

Hi.

I am making a Multimedia Presentation in VB.NET 2005 and I have some
animated GIFs which I need to use. I tried to use PictureBox for it but it
doesn't play an animation in GIFs :/. What I should do to resolve this
problem, do you have any suggestions?

Regards.
 
ZikO said:
I am making a Multimedia Presentation in VB.NET 2005 and I have some
animated GIFs which I need to use. I tried to use PictureBox for it but it
doesn't play an animation in GIFs :/.

The picturebox control supports playback of some animated GIFs. You may
want to play around with the options of the GDI export filter of your
imaging application. In addition, check out the 'ImageAnimator' class.
 
Herfried K. Wagner said:
The picturebox control supports playback of some animated GIFs. You may
want to play around with the options of the GDI export filter of your
imaging application. In addition, check out the 'ImageAnimator' class.

Thanks mate.

You won't believe it but I had to load gif by Form Load Event and use

PictureBox1.Image = Image.FromFile("name.gif")

insted of loading picture by design properties!
Now it's working :). But anyway do you think ImageAnimator class would be
better way to use gifs?

Regards.
 
But anyway do you think ImageAnimator class would be better way to use
gifs?
Regards.

Nevermind :/. The ImageAnimator is better but I am not as good to understand
this class. In MSDN, there are too general examples and I am not able to
read and understand them. Thanks.
 
Back
Top