Error EventError Event*
*



Contents  *



Index  *Topic Contents
*Previous Topic: DisplayModeChange Event
*Next Topic: OpenComplete Event

Error Event

Indicates that an error occurred.

The Error event is sent when DirectShow reports an error during playback. By default, the ActiveMovie Control displays a message box containing the description string. To avoid displaying this box, set the CancelDisplay parameter of the Error event to False.

Syntax

Private Sub object_Error(ByVal SCode As Integer, ByVal Description As String, ByVal Source As String, CancelDisplay As Boolean)

objectObject expression that evaluates to an ActiveMovie Control.
SCodeError code.
DescriptionString describing the error that occurred.
SourceString containing the ActiveMovie Control's name.
CancelDisplayValue that the client can set to cancel the default error messages.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.