-
1
- #1
ChrisRChamberlain
Programmer
Getting increasingly frustrated by the inconsistent behaviour of the OleClass MSComCtl2.Animation control in displaying and playing .avi files, decided to convert the files to .gif format.
I used Jasc Software's Animation Shop which is the sister product bundled with the excellent Paint Shop Pro.
File > Open... (ensuring you have all files as 'Type of file') and select the .avi file to convert - there is no documented way of importing an .avi file
Accept defaults in the next dialog and you will see the animation as being in n frames.
If the background colour of the frames is not transparent, ie alternate white and grey squares, select Animation > Replace Colour..., select radio button 'All frames', click with the mouse on the background colour of the first frame which will replace the old colour value in the 'Replace Colour' dialog, and select radio button 'Transparent opacity', and click OK.
File > Save As... and select 'Save as type:' to be *.gif and name the file.
In the following wizard, accept all defaults.
If you have VFP 8.0, the native Image control will run the animated .gif - if not a web search for 'marchoso.ocx' should provide a download source for the freeware ActiveX control that will also play animated .gifs.
FAQ184-2483 - answering getting answered.
Chris ![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
PDFcommandertm.com
PDFcommandertm.co.uk