I didn't write the actual control. Comes from some dude in California, who is no longer at the email address he gives. See the about thing in the property box.
ssshhh i thought i heard you say u didnt write the control!
nah but the tutorials cool. We need a tutorial page!
Have ya given this one to john?
I even get a mention
No I think there is a problem displaying modern animated gifs. You would have to email Frans for the details, but I have no reason to doubt it, he usually has good info.
Hey Jello, cause of all the pesky problems I have with poxy gif controls, this is how I do it now and it works well.
Just extract all the frames from the gif using something like animation shop or you can download IrfanView from cnet for free.
Then just load the images into a imagelist and then add this code, courtesy of Aaron and it even works with transparent background gifs.
no external dependency + simple and easy to implement + you can control the speed of the animation at will via code + you can start and stop it at will.
VB Code:
Option Explicit
Private Sub Form_Load()
' Set the MaskColor to Black, because you're using Transparent GIF's
The purpose of the tutorial is not to provide the world's best gif control, but too point out using third party controls, and how to get them on board a vb project....else would settle on the Blt thingy which am still mucking around with...