PDA

Click to See Complete Forum and Search --> : using an animated gif


mr moose
Oct 31st, 1999, 07:35 PM
How can I run an animated gif in VB?

Yonatan
Nov 1st, 1999, 01:49 AM
Use the WebBrowser control and "Navigate" to the GIF.

------------------
Yonatan
Teenage Programmer
E-Mail: RZvika@netvision.net.il
ICQ: 19552879 (http://www.icq.com/19552879)

Gimpster
Nov 1st, 1999, 02:51 AM
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
corneslen@hotmail.com
ICQ# 47799046

Evan
Nov 1st, 1999, 03:07 AM
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).]

Aaron Young
Nov 1st, 1999, 03:10 AM
Take a look at my Reply to the Same Post: Here (http://www.vb-world.net/ubb/Forum1/HTML/009769.html).

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

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net

Serge
Nov 1st, 1999, 05:38 PM
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
Serge_Dymkov@vertexinc.com
Access8484@aol.com

Madboy
Nov 15th, 2003, 03:57 PM
Use Gif89.DLL:eek:

BuggyProgrammer
Nov 15th, 2003, 06:17 PM
Originally posted by Madboy
Use Gif89.DLL:eek:

sigh... you replied to a really old thread:sick:

Madboy
Nov 16th, 2003, 04:00 AM
oOops, must of got stuck in one of those dodgee time warp thingimijigs!:lol: