Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert Animation 3

Status
Not open for further replies.

Fekri

Programmer
Jan 3, 2004
284
0
0
IR
Hi,

I want to know is it possible to insert animation file like "gif" and run in Microsoft access during run the program.

would be appreciated.

ali
af1112@yahoo.com
 
Animation In Access - Using animated GIF's
faq181-108

Animated GIF's in Access

You will need an ActiveX control for this.

Go to this location:
ftp://ftp.simtel.net/pub/simtelnet/win95/graphics/
Scroll down through the list and download: agv10.zip
This zip file will contain 3 files. The only one you will need is: Gif89.dll

Place Gif89.dll in your C:\Windows\System folder and register it by typing the following in the Start, Run box:
C:\Windows\System\Regsvr32.exe C:\Windows\System\Gif89.dll

You need to then Register this ActiveX in Access. Open Access and open 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.

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.

You 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 also place a copy of the gif89.dll (again in the Windows/System folder) in the different machine and go through the registering of the dll as described above. This can be a pain to remember, but the finished product is very appealing.

Good Luck,
RDH

 
Thanks RDH

thanks for your best & very usefull procedure.
I hope that be usefull for you too in ither case.

ali
af1112@yahoo.com
 
Hi,

I couldn't download this file!!!!
Because of ftp site!!!
So, Can you put this file in somewhere to download it.
or tell me if there is another place to have access to this file

thank you
Ali
 
Do a search on Google for agv10.zip or gif89.dll. The gif89.dll method works pretty well. But I've been experimenting with the ActiveX control Microsoft WebBrowser. Found that that works better and you can use it to embed Word, Excel, Flash, etc within a window of a form.
 

This file contains just the gif89.dll file, which you can register (as explained above). If I am not mistaken, this is a better (updated/debugged) version of the dll on simtel, though it might be the same file. Hopefully it is a better version, because I remember the headaches that control used to give me with some (non-standard) gif89a animations.



John Vogel
john@thecompuwizard.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top