OnError(lErrorCode as long, sErrDescription As String)
The OnError event will fire whenever an error occurs within the component. Two parameters are passed, an error code (long integer) and an error string. Use this event to help troubleshoot any problems you may run into.