Kofax DM API Manual do Utilizador Página 47

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 528
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 527 528

Comentários a estes Manuais

Sem comentários