Results 1 to 12 of 12

Thread: Animated Gifs?

  1. #1

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81

    Question Animated Gifs?

    can anyone tell me how to get an animated gif to work in vb?

  2. #2
    Junior Member
    Join Date
    Nov 2001
    Location
    Yorkshire, UK
    Posts
    21

    Thumbs down Hmm

    This is a great one. I tried to do this for ages and gave up in the end. If you load a GIF into the picturebox, it's not animated. The only way IO found of doing it was to insert an Internet Explorer Control (I forget the name) and load it up in that. I didn't like that way so I gave up and blitted a series of bitmaps instead.

    Have fun trying. There might be a control to do it somewhere onm the Net, but not that I've ever found.

    Sorry for the negative post...

    FJ
    100% of drink driving incidents are alcohol related.

  3. #3
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    ...

    here it is !!!!!!!!!


    i found it somewere on my desktop .


    it is a dll which includes a new objekt .. !! it works !! very well!!

    cya
    Attached Files Attached Files
    Old enough to know better,
    but young enough to don't give a ****!

  4. #4
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    If you can see it in your components, there's a control called Gif89a. I'm not sure if it's the same as longbow's solution, but you may already have it.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  5. #5
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157

    Arrow the same!

    @ sastrx .. jo , it's the same i think!!
    Old enough to know better,
    but young enough to don't give a ****!

  6. #6

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    Thanx for that now how do I get it to work? I get the gif up but it doesn't move.....

  7. #7
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157
    you normally have to register the dll .. in vb!!

    like other components!!

    browse in the components list your harddisk!! then search the dll-> open .. now its in the listbox .. check it! -- normally work! :-)

    running a 1400mhz athlom win98 .. 512 RAM
    Old enough to know better,
    but young enough to don't give a ****!

  8. #8

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    Ummm, I know that bit, but how can I get it animated, ie. code and properties??

  9. #9
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157
    auto start = true (normally)
    filename = the path of the gif (C:\yourfile.gif)

    works fine greez Longbow
    Old enough to know better,
    but young enough to don't give a ****!

  10. #10

    Thread Starter
    Lively Member magoochris's Avatar
    Join Date
    Nov 2001
    Location
    Australia
    Posts
    81
    it only works with some gif files AHHHHHHH and is there a way to make the transperansy work proply?

  11. #11
    Addicted Member
    Join Date
    Jul 2001
    Location
    Germany, BW
    Posts
    157
    hmm dont know anything about the transparent thing ..

    but i think it could be that some gifs are not supported by VB ..like some selfmade icons ..

    greez Longbow

    Old enough to know better,
    but young enough to don't give a ****!

  12. #12
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611
    Otherwise if you do a search for the Webbrowser control you will find it can do this with a single line of code
    Looking for a friendly intelligent chat forum? Visit the white-hart.net

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