Using Animated Gifs Within Access97 Forms (1 Viewer)

The Real Yoda

Registered User.
Local time
Today, 23:40
Joined
May 25, 2001
Messages
17
Is it possible to use animated gif files/pictures with your Access 97 files?

Is so how?????
 
C

capri

Guest
yes it is, I found a file http://www.candace-tripp.com/_pages/HTML/default_HTML.asp

here is the text

but you will need the dll

Animated GIF's in Access

Follow the instructions below to place Animated GIF files into your Access application.

*********************************************************************************************
Step 1.
First copy Gif89.dll in your C:\Windows\System folder.
*********************************************************************************************
Step 2.
Now you need to Register it in Windows by typing the following in the the Start , Run box:

C:\Windows\System\Regsvr32.exe C:\Windows\System\Gif89.dll
(type exactly as shown above)

OR

Use the "Find Files":

Regsvr32.exe, Gif89.dll
(type exactly as shown)

Then drag Gif89.dll on top of Regsvr32.exe and drop the file.
This will also Register the .dll file.
*********************************************************************************************
Step 3.
You need to then Register this ActiveX in Access. To do this, open Access and click the "TOOLS" menu and choose "ActiveX Controls". Next click Register, change the file type from ocx to dll, and browse for the "Gif89.dll" file in the C:\Windows\System folder. Click on it and then choose Register.
*********************************************************************************************


That's all there is to it. To use this new control in Access, open your form in design view then choose the "INSERT" from Access main menu, then ActiveX Control and choose "Gif89 Class". This will place a GIF object on your form. The last property of this control (bottom of list) is called "File Name". Here is where you enter the complete path to the .gif file you wish to use. There is also a property that allows you to embed or link the file. Remember that if the file size is large you may want to link it over embedding it to save overhead in your database. Also some of the properties shown in the property list for this control are not available.

You can use most any animated GIF you wish. You can find loads of free Gif's on the internet. To capture these for your use, right click on top of the animation then choose "Save Picture As", make sure file type is .gif, then choose a folder to to save the file.

SPECIAL NOTE:
One thing to remember is if you wish this Animation to work on a different machine, you MUST place a copy of the Gif89.dll (as described in Step 2) in the different machine and go through the registering of the .dll in Windows as described above. Should you fail to do this, your .GIF file will not appear in you app and you will have a "Missing" library reference.

This can be a pain to remember, but the finished product is very appealing.
 

Users who are viewing this thread

Top Bottom