MAIN CONTROL OBJECT
41
3
EVENT ERROREVENT
PURPOSE
An error has occurred.
DESCRIPTION
This event notifies the container when an error has occurred.
IDL
[id(1), helpstring("method ErrorEvent")] HRESULT ErrorEvent(short ErrorID, BSTR
ErrorDesc);
INPUT PARAMETERS
None
OUTPUT VALUE
ErrorID as short with the ID of the error occurred
ErrorDesc as String containing the error description
EXAMPLE
...
Private Sub RFNCCTL_ErrorEvent(ByVal ErrorID As Integer, ByVal
ErrorDesc As String)
MsgBox ErrorDesc, vbCritical, “Error n. “ & CStr(ErrorID)
End Sub...
Commentaires sur ces manuels