BPCVid.Error

[This is preliminary documentation and subject to change.]

The Error event occurs when an asynchronous error occurs in the Video control or the control's input or output device.

Syntax

Private Sub object_Error(Number As Integer, _
 ByVal Description As String, ByVal SCode As Long, _
 ByVal Source As String, HelpFile As String, _
 HelpContext As Long, CancelDisplay As Boolean)
 

Parameters

object
Object expression that resolves to a BPCVid object.
Number
Integer that contains the low WORD of the SCode parameter.
Description
String describing the error that occurred.
SCode
Long that specifies the error code.
Source
String containing the control's name.
HelpFile
String containing the Help file name.
HelpContext
A Long that indicates the Help context.
CancelDisplay
Value that may be set by the client to cancel the default error messages.

Remarks

Broadcast Architecture does not currently generate asynchronous errors.

The Error event occurs when the Video control reports an error during playback. By default, the control displays a message box containing the description string. To avoid displaying this box, set the CancelDisplay parameter of the Error event to False.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.
  Unicode: Yes.

See Also

BPCVid.ErrorMessage