Solved

Of Animated Gifs and AVIs

Posted on 1998-05-03
5
331 Views
Last Modified: 2008-02-01
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.
0
Comment
Question by:lyc
5 Comments
 
LVL 5

Expert Comment

by:bin_huwairib
ID: 1437635
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

0
 

Author Comment

by:lyc
ID: 1437636
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!

0
 
LVL 6

Accepted Solution

by:
clifABB earned 30 total points
ID: 1437637
0
 
LVL 4

Expert Comment

by:zsi
ID: 1437638
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.
0
 

Author Comment

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

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now