Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 12th, 2003, 11:06 AM
Authorized User
 
Join Date: Dec 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Insert Gif Images onto a Access form?

Is it possible to insert a animated gif onto a standard access form? Ive tried every thing but i cant seem to get it to work...

Is there a way

Sam Powell
Information Systems Officer
Neath Port Talbot College
__________________
Sam Powell
Information Systems Officer
Neath Port Talbot College
 
Old December 12th, 2003, 11:11 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check out the animation2k.mdb at http://www.rogersaccesslibrary.com/T...ntents2k.asp#A

I haven't used it, but I know it's there.

HTH,

Beth M
 
Old December 12th, 2003, 11:31 AM
Authorized User
 
Join Date: Dec 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by BethMoffitt
 Check out the animation2k.mdb at http://www.rogersaccesslibrary.com/T...ntents2k.asp#A

I haven't used it, but I know it's there.

HTH,

Beth M
Thats a good site but it still doesnt solve my problem. I need to actually insert a gif image i have downloaded of the net and put it onto a form.

Sam Powell
Information Systems Officer
Neath Port Talbot College
 
Old December 12th, 2003, 12:24 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

I ran into this a couple of weeks ago. Here is the information

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.
 
Old April 1st, 2004, 10:32 AM
Registered User
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for that, worked a treat!





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use Gif animation on form akhilesh_g Pro VB 6 1 June 29th, 2008 10:04 AM
animated gif in MS Access anukagni Access 2 December 4th, 2006 06:31 AM
is it possible to display GIF Images uneek_18 Crystal Reports 0 January 16th, 2006 08:03 AM
Insert video into an Access form abelmirma Access VBA 1 July 30th, 2005 02:56 AM
pictures/images from Access on ADO form? megasime999 VB Databases Basics 1 September 22nd, 2004 03:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.