Animated Gifs

  • Thread starter Thread starter Mark Turner
  • Start date Start date
M

Mark Turner

Does anyone know if it is possible to use animated gifs in
an Access 97 form? Any help would be appreciated... <sm>
 
Not directly. A work around is to save each frame of the
animation as a separate picure. Place all of the pictures
on top of each other on the form. Name them sequentually
such as picture1, picture2, etc. Set the visible property
of the first "frame" to true and the rest to false. Set
the timer internal to 100 or so. Then set the on timer
event to cycle through the pictures by hiding the previous
one and showing the next one. The downside of this method
is your db size gets very large, very rapidly, from all
the pictures.

Hope this helps!
 
The easiest method is to download a 3'rd party ActiveX control. For
performance reasons, it's written in ATL and multithreaded, I like and
have used this one.
http://skyscraper.fortunecity.com/capacity/402/activex.html

For a listing of other controls have a look at:
http://www.generation.net/~hleboeuf/gif.htm

You can also use the MS Web Browser control. Check the currently
installed ActiveX controls on your system.

Finally, for those situations where you do not want to use an ActiveX
control or just want to play a single Animated Gif as part of a splash
screen there is code on my site to do this in native Access VBA. No 3'rd
party DLL's required. The code is a bit dated now and does not include
support for Local Color tables that my latest version in VB6 does.
Update coming soon..it's my next project.(I've been saying this
forEVER!)
http://www.lebans.com/animatedgifplayer.htm



--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top