Visual Basic: Windows Controls

Visual Studio 6.0

Animation Control

See Also   Example   Properties   Methods   Events

The Animation control allows you to create buttons which display animations, such as .avi files, when clicked. The control can play only AVI files that have no sound. In addition, the Animation control can display only uncompressed .avi files or .avi files that have been compressed using Run-Length Encoding (RLE).


If you attempt to load an .avi file that includes sound data or that is in a format not supported by the control, an error (error 35752) is returned.

An example of this control is the file copy progress bar in Windows 95/98, which uses an Animation control. Pieces of paper "fly" from one folder to another while the copy operation executes.