Visual Basic: Windows Controls

Close Method (Animation Control)

See Also   Example   Applies To

The Close method causes the Animation control to close the currently open AVI file. If there was no file loaded, Close does nothing, and no error is generated

Syntax

object.Close

The object placeholder represents an object expression that evaluates to an Animation control.

Remarks

To stop a file from playing, use the Stop method. However, if the Autoplay property is set to True, set Autoplay to False to stop the file from playing.