Here is Version 2 of the GFI animator.
The main changes are
- Truly transparent
- supports more GIFs
- Can load gif from file or resource
- based on a class that can be used separately from the control
Here is how to use it
Code:
With ctlGIF1
'hide border
.BorderStyle = vbBSNone
'make control size of picture
.AutoSize = True
'make transparent
.BackStyle = ucTransparent
'load gif from resource file
.LoadGIF LoadResData(102, "CUSTOM")
'Start the animation
.Animate = True
End With
Try it out an let me know if there are GIFs it won't load or other bugs.
I know of one bug, but I'm working on that.
Here is the latest version which is down lower in this thread
http://www.vbforums.com/attachment.p...chmentid=40429