Solved

Of Animated Gifs and AVIs

Posted on 1998-05-03
5
338 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Access query that references subform 5 48
Excel VBA, find a string in a column, update a cell 7 102
Hide vba in gp 7 115
IF ELSE Statement in Excel Macro VBA 16 87
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

756 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