Share via


Windows Media Player 11 SDK AxWindowsMediaPlayer.openPlayer (VB and C#) 

Windows Media Player SDK banner art

Previous Next

AxWindowsMediaPlayer.openPlayer (VB and C#)

The openPlayer method opens Windows Media Player using the specified URL.

[Visual Basic]
Public Overridable Sub openPlayer(
  bstrURL As String
)

[C#]
public virtual void openPlayer (
  string bstrURL )

Parameters

bstrURL

The System.String that is the URL of the media item to play.

Return Value

This method does not return a value.

Remarks

This method launches Windows Media Player with the specified URL set as the current media item. If the Player was previously closed in skin mode it will open using the skin last chosen by the user. Otherwise, the Player opens in full mode.

Requirements

Version: Windows Media Player 9 Series or later

Namespace: AxWMPLib

Assembly: AxInterop.WMPLib.dll (automatically generated by Visual Studio)

See Also

Previous Next