With gif89.dll you have to make sure you register it on each of your users' machine. But it does work.
You could also insert the ActiveX control Microsoft Web Browser (which should already be on everyones machine). Suppose you name the ActiveX control MyGifFile, then in the OnOpen event of the form, enter something like this:
Okay.
I've downloaded the Gif89.dll file, copied it to C:\Windows\System on my Windows XP PC. I've registered it successfully with Windows. I've also registered it with Microsoft Access 2002. I've created a Gif89 class active x object on a blank form and I've assigned an animated .GIF file I download (which works fine when opened with Microsoft Picture Viewer) to the gif object. I still can't get it to work. What the hell am I doing wrong?
I followed those directions to a T. The only thing I had to do different is during the windows registration piece instead of typing:
C:\Windows\System\Regsvr32.exe C:\Windows\System\Gif89.dll in the Start\Run menu I used:
Regsvr32.exe C:\Windows\System\Gif89.dll. I got an error doing it their way. Windows still said the dll file registered successfully. Everything else I did just the same and I can't get it to work. I don't know what I'm missing.
I just tried it at this end and it works okay. Have you entered the correct pathname & filename in the Filename of properties. Thats the only thing I can think of as to why its not working for you.
I copied and pasted the file path right out of the file path window. I even moved the gif file around on my pc and on to our network and it didn't work any of those places either. I sent it to another buddy to see if he can get it to work on his pc. I don't know what else to try.
Give the Web Browser a try. It's real simple. Should only take you about a minute to insert the ActiveX control, add the code to navigate, and test it.
I can't get that to work either. I think something within office is missing on our pc's here at work. I've tried it on more than one PC and it won't work on any of them.
Thanks anyway. Guess that's what I get for trying to be a little creative.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.