Kofax DM API Manual de usuario Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
THE DM ARCHITECTURE 27
Document Objects
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
PDoc.Update
'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
Set PDoc = Nothing
MsgBox "Trustee " & cboTrustees.Text & _
" has been added."
Exit Sub
'2) Add trustee to the trustees collection
' and update trustees.
PDoc.FetchTrustees
TrusteeList.AddTrustee cboTrustees.Text, _
2, Val(txtRights)
PDoc.SetTrustees TrusteeList
PDoc.UpdateTrustees
'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
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 527 528

Comentarios a estos manuales

Sin comentarios