Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Of Animated Gifs and AVIs

Posted on 1998-05-03
5
Medium Priority
?
342 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

824 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