I thought I'd post this .dll as It took a little time to find.
I have successfully used it...
USE:
1. Unzip and copy the DLL into the Windows System Directory,
2. Register it using Start/Run: regsvr32 C:\Windows\System\Gif89.dll
3. Add the Component to ur project.
Done.
I have used it like this - it works ( I hope I have it right).. someone
VB Code:
Private Sub Form_Load()
Gif89a1.FileName = App.Path & "\Jerboa.gif"
End Sub
Credit to Mc Brain for the direction
Last edited by Bruce Fox; Mar 25th, 2002 at 10:15 PM.
Hey thats pretty good. I had to set Embed to True, if anyone else is having an trouble with that.
With this
2. Register it using the Start/Run -regsvr32 C:\Windows\System\Gif89.dll
Can I use that to register msvbvm60.dll??
Its normally installed on a System if you use a Setup Program for your app. And what about OCX's?? I've tried to test my programs on school computers, 95 don't have msvbnm60.dll, 98 do, but they don't have some of the OCX's that I'm using.
Also, if I want to have that on a Splash screen, that dll will be included in the Setup Program, yes?
My frames 'jump' as some of them are different dimentions.
ie, only part of the 'Original' frame has changed, so that part has been re-drawn, and therefore my images appear to jump.
What am I missing?
Do I need to set Height and Width of something?
Originally posted by Bruce Fox Good point Nucleus,
I was playing with that (code) this morrning.
I have a slight problem,
My frames 'jump' as some of them are different dimentions.
ie, only part of the 'Original' frame has changed, so that part has been re-drawn, and therefore my images appear to jump.
What am I missing?
Do I need to set Height and Width of something?
Cheers,
Hiya Bruce, I am actually in Melb today, in the North Rialto tower, what can I say about the weather, trully Melbournian!
About your animated gif, post it here and I'll take a look at it.
In Melbourne until tonight 6:30, 2 days straight of miserable weather, oh well
Ok, I can see what you mean. I haven't come across an animation like that before. I don't think it is going to be hard to do that animation, you just need to persist the initial frame then draw the new frame over the initial one. If you could only deduce where to place each frame relative to the first, it would be easy, and you wouldn't need to play around with it until you get it perfect....
If you have this sort of animation, and it works with Gif89, then I'd use that instead of making myself go crazy. If it failed with Gif89, then I'd go to the trouble of manually animating it.
Is it possible to do this? I want to load the image into the application instead of loading it from disk drive. This way, when I compile it to an .exe, I don't have to include the image file.
I used my snow avatar, and the snow falls for a split second only. What do I have to do to get it the snow to repeat? I couldn't get the speed property to work, either. Maybe as it is only a few frames.
I am trying to buyild an OCX from the excellent code in the link that RM_03 gave vabove, but it keeps hitting me with
"No Public User Control"
Having not got into user controls at all yet, I havn't got a clue as to what is going off. Previously with OCX source I have just compiled and that was it. Can someone have a look with me and figure out what is missing?
TIA
David
Learn the Rules so that you know how to break them properly.