Animation Problem

lalithakumar

New member
Joined
Mar 5, 2008
Messages
2
Programming Experience
Beginner
I am using .gif file for animation but i am not getting the animation properly i was able to get only the still images? wt to do for this?
 
Animation

I am using Visual Studio 2005, Windows Application (not web) and
Visual Basic.

When I place an animated gif (not in runtime) in a button or picture
box, it works fine. When I change the gif in runtime from an
imagelist or Image.FromFile command, the image is displayed but there
is no animation.

How do I change (in run-time) one animated gif to another animated gif
and display the animation?
 
hello dude. i don't know why if i take the animated image from imagelist that i assigned before to picturebox, the animation will not work.
Ex: ("picturebox.image = imagelist.images.item(0)")

but if let say you keep the collection of image in a folder. then you assign the image location, then the animation will work.
Ex: picturebox1.imagelocation = "C:\images\me.GIF"

hopefully this will answer your problem.
:cool:
 
Back
Top