IDocumentGetFileCopy Method |
make a copy of the file and return the path
Make a copy of a file, and return the path to it. Used by document plugin, gives you the possibility to force e.g. Notes to put the document on a disk where other may access it
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxstring GetFileCopy(
string bstrTargetPath = ""
)
Function GetFileCopy (
Optional bstrTargetPath As String = ""
) As String
Dim instance As IDocument
Dim bstrTargetPath As String
Dim returnValue As String
returnValue = instance.GetFileCopy(bstrTargetPath)
String^ GetFileCopy(
[InAttribute] String^ bstrTargetPath = L""
)
Parameters
- bstrTargetPath (Optional)
- Type: SystemString
target path
Return Value
Type:
StringString
ExamplesGetFileCopy
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objso
set objso = CreateObject("superoffice.application")
If not (objSO is nothing) Then
msgbox objso.database.getdocument(2).getfilecopy
end if
See Also