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)
object Object expression that evaluates to an ActiveMovie Control. SCode Error code. Description String describing the error that occurred. Source String containing the ActiveMovie Control's name. CancelDisplay Value that the client can set to cancel the default error messages.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.