Share via


Windows Media Player 11 SDK IWMPError.webHelp (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPError.webHelp (VB and C#)

The webHelp method launches the Windows Media Player Web Help page to display further information about the first error in the error queue (index zero).

[Visual Basic]
Sub webHelp()

[C#]
void webHelp ();

Parameters

This method takes no parameters.

Return Value

This method does not return a value.

Remarks

The Web Help pages always contain the latest and most detailed information about Windows Media Player errors. This method automatically transfers the other information needed by Web Help, such as the operating system version being used.

To access the Web Help pages directly, use the following error code and support center links:

Windows Media Player Support CenterExample Code

The following example creates a button that launches the Microsoft Windows Media Player Web Help page in the browser. The AxWMPLib.AxWindowsMediaPlayer object is represented by the variable named player.

[Visual Basic]
Public Sub webHelpButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles webHelpButton.Click

    ' Launch the Microsoft Windows Media Player Web Help page in the browser.
    player.Error.webHelp()

End Sub

FakePre-3c18dd5710f3490ca29475b8c94865ff-530b3009ada44c52bab51f3578fa71e8

private void webHelpButton_Click(object sender, System.EventArgs e)
{
    // Launch the Microsoft Windows Media Player Web Help page in the browser.
    player.Error.webHelp();
}

Requirements

Version: Windows Media Player 9 Series or later

Namespace: WMPLib

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

See Also

Previous Next