Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: SelectionStart
*Next Topic: SendKeyboardEvents

SendErrorEvents Property

Sets or retrieves a value specifying whether the Microsoft® Windows Media™ Player control sends error events.

Syntax

MediaPlayer.SendErrorEvents [ = bErrEvents ]

Possible Values

bErrEvents Boolean value specifying whether error events are enabled. If true, the Windows Media Player control sends error events.

This property is read/write with a default value of true.

Remarks

When error events are enabled, error message boxes are disabled, and vice versa.

If the value of this property is false and an error occurs, Windows Media Player displays a dialog box with a description of the error. If this property is true, error dialogs are disabled, and the application must handle error conditions.

See Also

ErrorCode, ErrorCorrection, ErrorDescription, HasError, Error Handling


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.