Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The Windows Media Player control provides built-in error support by displaying error messages in dialog boxes and on the status bar. Alternatively, you can add error handling to your application by processing error events.

If the SendErrorEventsproperty is true, error message boxes are disabled and the control sends error events instead.

If SendErrorEvents is false, the Windows Media Player control displays error dialogs and does not send error events.

Error-handling events supported by the Windows Media Player control include the following:

  • The Errorevent signals that a critical error has occurred.

When your application receives an error event, you can determine the specific nature of the error by checking the following properties:

  • HasErrorproperty specifies whether the Windows Media Player control currently has an error.

  • ErrorCodeproperty specifies a code number associated with the type of error.

  • ErrorDescriptionproperty specifies a description of the error.

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.