Link to home
Start Free TrialLog in
Avatar of lyc
lyc

asked on

Of Animated Gifs and AVIs

1. How do I load an animated gif into VB? (Are there any FREE custom controls or whatever coding?)
2. Yes, some idiot mentioned in the archives about converting it into an AVI and loading it straight using OLE, I suppose.
If so, how do I get rid of that stupid status bar showing the progress of the animation?
Thanx.
Avatar of bin_huwairib
bin_huwairib

lyc,

If you success to convert GIF to AVI why you load it using OLE ?

Use Animation control in Microsoft Windows Common Controls-2 (COMCT232.OCX).

Example:

Private Sub Command1_Click()
 Animation1.AutoPlay = True
 Animation1.Open "c:\myfile.avi "
End Sub


Best regards
Bin Huwairib

Avatar of lyc

ASKER

Nope... it doesn't work...
My compression of AVI is different from what the animation control wants, that's why i have not been using the animation control.
Thanks for your help anyway...
P/S The question is mainly about gifs!

ASKER CERTIFIED SOLUTION
Avatar of clifABB
clifABB

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
lyc,

How kind of you to call those of us who volunteer our time here "idiots."

Please let us know when we can leap at the opportunity to help you again.
Avatar of lyc

ASKER

Thanx, although that is shareware, it will do.
zsi: Thanks for your rather sarcastic remark, but I mantain my stance.