PDA

Click to See Complete Forum and Search --> : animating gifs


ibowlwell
Mar 3rd, 2002, 05:16 PM
hello,

I am a rookie programmer and i think my question should be quite easy for you guys. I hae an animated gif in my program I would just like to know how to make it animated as it is now it just sits there like a regular gif. I currently have it using the image button.

Thanks

Josh
AIM name ibowlwell

jamieoboth
Mar 4th, 2002, 12:14 PM
Quite Frankly? YOU CAN'T!
You have to use BitBit, or some other animation control. Animated GIFs dont work in VB6 or its predecessors, (im not sure if it does, but it would be cool if in VB7 it works by playing GIFs)
This is a problem, but you just have to live with it!
Sorry!


:D :D :D :D :D

ibowlwell
Mar 4th, 2002, 03:18 PM
Thanks for your help. BitBit huh I have no idea what that is but at least I know i cant use animated gifs. If anyone else can give me a hint on how to make my pictures move it would be cool. Thanks

Josh

riis
Mar 4th, 2002, 03:24 PM
There's a tutorial at fox's site (http://fox.acky.net/vb/english/coding/tutorial/index.html) about animating gifs. It's in the BitBlt section. You should have a look there.

jamieoboth
Mar 4th, 2002, 03:26 PM
BitBit is a control used to display an animation. A bitmap is made with certain measurements, with the number of required cells spaced out. Then, in VB6, the image is loaded, and moved along by means of a timer, at a certain f/ps so thwe image appears to be moving. There are tutorials @ www.vbworld.com


I don't use it much, but there are loads of people here who do though!:D

Sastraxi
Mar 4th, 2002, 03:44 PM
I'm sure you could find an animated gif activex control by a quick search on Planet Source Code or Google.