I want to show some animation for few secs before laoding main form. I understand that gif files dont work in VB6.0.
How do people do animation. what are the ways to do it?
any info pl.
Thanx in advance.
Printable View
I want to show some animation for few secs before laoding main form. I understand that gif files dont work in VB6.0.
How do people do animation. what are the ways to do it?
any info pl.
Thanx in advance.
See this thread
well, if you just got a bunch of frames together you could play them back to back in a picturebox, couldn't you?
Yes you could, but that might create some unncessary hassle.
(Though in the same token, one could say that including an external DLL file is a hassle in comparison)
Which is the best way to have animation.
if no other method is there, is it only the option to change frames with timer control.
are there any gif dll's availabla? trouble free ones!!
any help pl.
Here's a freeware dll that allows you to display animated gifs on a form. I've been using it for years and have never had a problem.
Although it's a dll, you need to add it to your project as a component after which it will show up in your toolbox. Just draw it on your form and set the FileName property to point to an animated gif file on your PC and away you go.
Cheers
EDIT: I just realised that this is the same dll that RobDog was referring to in his post. Anyway, here it is just in case you can't find it.
The changing frames method is quite easy and only needs a few lines of code, i've just finished a few animations using this way. Was trying to recreate a 'Virtual girl' type of animation for the desktop. Worked out ok i guess.
Of course this would all be much more fun using bitblt and gettickcount...
ignore
Animation control
What did you use to make the .avi file. It also opens in Media Player.
Downloaded some avi. files from the net.
Did it work ok for you.?
I have some other samples but not on this pc.if you want some more I will post this evening.
Cheers
Some more avi files.
Hope these help you.