Open Method

Asynchronously opens the title specified by a String value.

Syntax

MediaPlayer.Open( TitleName )

Parameters

TitleName

Name of the title to open, including its protocol, path or HTTP URL.

Remarks

This method performs the same function as setting the FileName property, however, the Open method works asynchronously, allowing the calling application to continue performing tasks while the title is being opened. The Cancel method can be used to abort the Open method before the file is completely loaded.

See Also

FileName, Cancel

© 1996-1998 Microsoft Corporation. All rights reserved.