Open

Asynchronously opens the clip with the specified name.

Compatibility: Windows Media Player

MediaPlayer.Open( sTitleName )

Parameters

  • sTitleName
    String value representing the name of the clip to open, including its protocol, path, or HTTP URL.

Return Values

No return value.

Remarks

This method performs the same function as setting the FileName property, but it works asynchronously, allowing the calling application to continue performing tasks while the clip is being opened. Use the Cancel method to abort the Open method before the file is completely loaded.

See Also

FileName, Cancel, Playback Methods and Properties

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.