Results 1 to 6 of 6

Thread: animating gifs

  1. #1

    Thread Starter
    Member ibowlwell's Avatar
    Join Date
    Mar 2002
    Location
    RI
    Posts
    56

    animating gifs

    hello,

    I am a rookie programmer and i think my question should be quite easy for you guys. I hae an animated gif in my program I would just like to know how to make it animated as it is now it just sits there like a regular gif. I currently have it using the image button.

    Thanks

    Josh
    AIM name ibowlwell

  2. #2
    Lively Member jamieoboth's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    116

    Talking

    Quite Frankly? YOU CAN'T!
    You have to use BitBit, or some other animation control. Animated GIFs dont work in VB6 or its predecessors, (im not sure if it does, but it would be cool if in VB7 it works by playing GIFs)
    This is a problem, but you just have to live with it!
    Sorry!


    Ich widerstehe allem - nur nicht der Versuchung

    (I can resist anything but temptation)

  3. #3

    Thread Starter
    Member ibowlwell's Avatar
    Join Date
    Mar 2002
    Location
    RI
    Posts
    56
    Thanks for your help. BitBit huh I have no idea what that is but at least I know i cant use animated gifs. If anyone else can give me a hint on how to make my pictures move it would be cool. Thanks

    Josh

  4. #4
    Fanatic Member riis's Avatar
    Join Date
    Nov 2001
    Posts
    551
    There's a tutorial at fox's site about animating gifs. It's in the BitBlt section. You should have a look there.

  5. #5
    Lively Member jamieoboth's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    116
    BitBit is a control used to display an animation. A bitmap is made with certain measurements, with the number of required cells spaced out. Then, in VB6, the image is loaded, and moved along by means of a timer, at a certain f/ps so thwe image appears to be moving. There are tutorials @ www.vbworld.com


    I don't use it much, but there are loads of people here who do though!
    Ich widerstehe allem - nur nicht der Versuchung

    (I can resist anything but temptation)

  6. #6
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I'm sure you could find an animated gif activex control by a quick search on Planet Source Code or Google.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

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