• Animated GIF (2000)

    Author
    Topic
    #387101

    brickwall Is there a way to add a animated GIF picture to a form in Access???

    Viewing 1 reply thread
    Author
    Replies
    • #674340

      Although you can put a .gif on a form, it won’t be animated, as far as I know. sad

      • #674387

        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.

        • #674405

          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.

          • #674408

            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 ??

            • #674414

              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.

            • #674416

              Yes Hans I agree.

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

      • #676511

        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?

        • #677348

          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.

    • #676496

      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

    Viewing 1 reply thread
    Reply To: Animated GIF (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: