Document objects, 28 c – Kofax DM API User Manual
Page 48
Advertising
28
C
HAPTER
1
Document Objects
'Check for error.
Dim lngENum As Long
lngENum = PDoc.ErrNumber
If lngENum <> 0 Then
Dim strEDesc As String, strENum As String
strEDesc = PDoc.ErrDescription
strENum = CStr( lngENum )
MsgBox "Error " & strENum & ": " & strEDesc
'Handle the error...
End If
End Sub
.
.
.
Advertising