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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Animated GIF 2

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
US
Is it possible to have an Animated GIF on a form or Switchboard....I have tryed but it seems to loose it's animation..

Thanks in advance
 
Not an animated gif BUT!! (there's always a but isn't there?) Say you had a 3 frame animated gif, take each frame and place it as a separate picture on the form and make sure they are the same size and on the same coordinates. Let's say the controls are named ole1, ole2, ole3; you could set the Timer Interval to say 500 and make a little code that fires in the Timer event that looks like so:

[tt]
If ole1.Visible = True Then
ole2.Visible = True
ole1.Visible = False
Else
If ole2.Visible = True Then
ole3.Visible = True
ole2.Visible = False
Else
ole1.Visible = True
ole3.Visible = False
End If
End If
[/tt]

Voila! Disney couldn't have done it any better! ;-)

Joe Miller
joe.miller@flotech.net
 
Thanks for the info...It works great..

But the reason i wanted to do this is, I have a series if append queries running back to back. I wanted a form to pop-up with some type of animation while the user waits..The time interval code will not work when a query is running at the same time my pop-up form is loaded...

any ideas??

Thanks
 
The timer on the popup form needs to be used and not the main form calling the query. Don't see any issues with using that, unless the computer is running such a complex query that it's eating all the CPU resources. Joe Miller
joe.miller@flotech.net
 
Sure you can use Animated Gif's in your app. I do this all the time.

I have a FAQ here at Tek-Tips that will expain how this can be done.


You can also get the complete information and also the needed Giz89.dll file at Candace Tripp's site below.
Choose MS Access Downloads to locate the file.


HTH
RDH Ricky Hicks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top