Results 1 to 11 of 11
  1. #1
    New Lounger
    Join Date
    Jan 2003
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Animated GIF (2000)

    <img src=/S/brickwall.gif border=0 alt=brickwall width=25 height=15> Is there a way to add a animated GIF picture to a form in Access???

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Animated GIF (2000)

    Although you can put a .gif on a form, it won't be animated, as far as I know. <img src=/S/sad.gif border=0 alt=sad width=15 height=15>

  3. #3
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Animated GIF (2000)

    You can work around this.
    See the attached example taken from one of my forms.
    The code behind the form should lead you in the right direction.
    Attached Files Attached Files

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Animated GIF (2000)

    Hi Dave,

    That works fine if you have the images as separate files. If you have an existing animated .gif, you'd have to use a graphics program such as IrfanView to extract all frames to separate files, and then put those on your form.

  5. #5
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Animated GIF (2000)

    Yes Hans I had to do the same thing to extract the single frames for my example also.
    Although it's a work around, it can be very labour intensive depending on the amount of frames required.

    I don't think I've seen an Animation ActiveX out there anywhere neither.

    But then again, watching the same animation time after time, wants you to throw the pc out of the window, making you think is it really worth the effort ??

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Animated GIF (2000)

    Dave,

    I'm not in favour of busy forms, but sometimes animation can help if you want to attract the user's attention. But in the end, it's up to the original poster to decide.

  7. #7
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Animated GIF (2000)

    Yes Hans I agree.

    I'm sure there's a very good reason in the original request.

  8. #8
    Bronze Lounger
    Join Date
    Nov 2001
    Location
    Arlington, Virginia, USA
    Posts
    1,394
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Re: Animated GIF (2000)

    If you are still pursuing this issue, you need to install and register the GIF89.DLL ActiveX control on your system (note that the control will also need to be installed & registered on any machine where you intend to distribute your Access program). For more details and a link to download a copy of GIF89.DLL, go to:

    TEK-TIPS - Animation In Access - Using animated GIF's

    HTH

  9. #9
    4 Star Lounger
    Join Date
    Feb 2001
    Location
    Richland, Washington, USA
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Animated GIF (2000)

    A somewhat related question: I'd like to be able to have the background of a form show through the "transparent" portion of a .gif image. I specify the transparent color in the .gif file, but Access seems to ignore this. Does anyone know whether this can be done?

  10. #10
    Star Lounger
    Join Date
    Dec 2001
    Location
    Birmingham, Alabama USA
    Posts
    95
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Animated GIF (2000)

    That's an old FAQ at Tek Tips that I posted a long time ago.

    You can also find information on this at the location below.

    Animation with Animated GIF's in Access

    HTH
    RDH
    Ricky Hicks
    Microsoft MVP
    Birmingham, Alabama USA

  11. #11
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Animated GIF (2000)

    The gif is in an image control and I don't know of any way to make the image control transparent on the form, so I doubt that it can be done. In Access, container controls like subform and image controls don't provide that functionality. If you can do it at all, I suspect it would require API calls.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •