Compartir a través de


IWMPError::webHelp method

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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).

Syntax

public void webHelp();

Public Sub webHelp()
Implements IWMPError.webHelp

Parameters

This method has 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:

Examples

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.

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

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

Requirements

Requirement Value
Version
Windows Media Player 9 Series or later
Namespace
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

See also

IWMPError Interface (VB and C#)