Windows Media Player SDK banner art
PreviousNext

Player6.SendErrorEvents

This property specifies or retrieves a value indicating whether the Windows Media Player control sends error events.

Syntax

MediaPlayer.SendErrorEvents

Possible Values

This property is a read/write Boolean containing one of the following values.

Value Description
true Default. Error events are enabled.
false Error events are disabled.

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 dialog boxes are disabled, and the application must handle error conditions.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.