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. |
The Microsoft Windows Media Player (WMP) 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 WMP control displays error dialogs and does not send error events.
Error-handling events supported by the WMP control include the following:
When your application receives an error event, you can determine the specific nature of the error by checking the following properties:
Last updated on Tuesday, May 18, 2004