Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: NextPGSearch
*Next Topic: Pause

Open Method

Asynchronously opens the clip with the specified name.

Syntax

MediaPlayer.Open( sTitleName )

Parameters

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

Return Value

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


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.