Results 1 to 9 of 9

Thread: using an animated gif

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 1999
    Location
    Pembroke Dock, Pembrokeshire, Wales
    Posts
    10

    Post

    How can I run an animated gif in VB?

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    Use the WebBrowser control and "Navigate" to the GIF.

    ------------------
    Yonatan
    Teenage Programmer
    E-Mail: [email protected]
    ICQ: 19552879



  3. #3
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    What do you mean by this? I would like to know how to do this also, but I don't understand what you just said.

    ------------------
    Thanks,
    Ryan
    [email protected]
    ICQ# 47799046

  4. #4
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    Post

    By if you use the IE Navigate Command Wont the ie window come up? Ive never tried that before..

    The Way I Have done it in the past is to Slpit the Gif into Seperate Frames, and Put them Each in pictures, In the same array and then use this code..

    dim loopingframes as string
    Dim frame as integer
    Frame = 0
    loopingframes = "true"

    do while Loopingframes = "true"
    image1(0).picture = image1(frame).picture
    frame = frame + 1
    if frame > 5 then loopingframes = "false"
    loop

    that work for you?

    [This message has been edited by Evan (edited 11-01-1999).]

  5. #5
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Take a look at my Reply to the Same Post: Here.

    I use the Webbrowser Control within a Picturebox to give the Illusion of an Animated Gif Picturebox.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

  6. #6
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    I have the code to use Animated GIF without using any 3rd party OCXs or Web Browser control (pure VB). If anyone wants it, email me.

    Regards,

    ------------------

    Serge

    Software Developer
    [email protected]
    [email protected]



  7. #7
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Use Gif89.DLL

  8. #8
    The picture isn't missing BuggyProgrammer's Avatar
    Join Date
    Oct 2000
    Location
    Vancouver, Canada
    Posts
    5,217
    Originally posted by Madboy
    Use Gif89.DLL
    sigh... you replied to a really old thread

  9. #9
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    oOops, must of got stuck in one of those dodgee time warp thingimijigs!

Posting Permissions

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



Click Here to Expand Forum to Full Width