Stuart McLachlan
stuart at lexacorp.com.pg
Thu Jun 19 00:06:09 CDT 2003
On 16 Jun 2003 at 15:38, jeffrey.demulling at usbank.com wrote: > Is there a way to use an animated GIF file on a form? > > Thanks in advance for any comments, suggestions, etc. > Just had a quick look at this one. You can do it with an AVI using the Microsoft Animation control. That means that you will have to convert your animated to gif to avi using one of the available conversion tools. Here's a few possibilities: Shareware/Commercial ware: Gif Construction Set from Alchemy Mindworks AVI-GIF from http://www.fileheaven.com/AVI-GIF/download/582.htm Free for non-commercial use: fmp141.zip from http://hem.spray.se/joakim.slettengren/ Once you have converted it to an AVI it's a case of: On a form, select Insert - ActiveXControl and Select "Microsoft Animation Control Version 6.0" or whatever version you have. Then you just need to use three methods Load the animation into the control with: ActiveXCtlAnim.Open "avifilename.avi" Run the animation with: ActiveXCtlAnim.Start and ActiveXCtlAnim.Stop There's a demo of using the animation control in A2K at http://www.lexacorp.com.pg/Misc/A2kAnimDemo.zip (it's only 23K zipped up). Just unzip the .mdb and the .avi into the same directory and open the .mdb -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support.