Creates a copy of the document in XStorage
Status:
Ready
Private Declare Function xstorage_copy_document
Lib "xmllab_dll.dll"(ByVal FROM As Long,ByRef DOCREF As Long)
As Long
The following Microsoft® Visual Basic® example shows how to create a copy of the document
Private Sub Copy_Click()Dim DocObject, DocObjectCopy As LongEnd Sub
Dim Result As Long
Dim XSTORAGE_STAT As String
XSTORAGE_STAT = String(255, " ")
Result = xstorage_status(XSTORAGE_STAT)
If Result = 0 Then
'DocObject = loaded_documents.List(loaded_documents.ListIndex)
Result = xstorage_first_doc(DocObject)
Result = xstorage_copy_document (DocObject, DocObjectCopy)
If Result = 0 Then
Call fill_loaded
Else
MsgBox "xstorage_copy_document failed. Retcode = " & Result
End If
Else
MsgBox "XStorage is not initialized or not loaded"
End If
Under development
Under development
|
Contact Us | | |
|
© 1997-2003 EDMGROUP (Australia) Pty Ltd. All rights reserved. |