can anyone tell me how to get an animated gif to work in vb?
Printable View
can anyone tell me how to get an animated gif to work in vb?
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...:rolleyes:
FJ
here it is !!!!!!!!!
i found it somewere on my desktop .:D
it is a dll which includes a new objekt .. !! it works !! very well!!
cya
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.
@ sastrx .. jo , it's the same i think!!:cool:
Thanx for that :) now how do I get it to work? I get the gif up but it doesn't move.....
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
Ummm, I know that bit, but how can I get it animated, ie. code and properties??
auto start = true (normally)
filename = the path of the gif (C:\yourfile.gif)
works fine greez Longbow:cool:
it only works with some gif files :eek: AHHHHHHH :eek: and is there a way to make the transperansy work proply?
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
:cool:
Otherwise if you do a search for the Webbrowser control you will find it can do this with a single line of code