FileName Property

Returns or sets a String value specifying the name of the title to play.

Syntax

MediaPlayer.FileName

Remarks

If the AutoStart property is True, file playback begins automatically anytime you set FileName. If you set both AutoStart and FileName at design time, the control begins playing the file when it is loaded.

See Also

Open method, AutoStart property

© 1996-1998 Microsoft Corporation. All rights reserved.