Click or drag to resize

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
Syntax
string GetFileCopy(
	string bstrTargetPath = ""
)

Parameters

bstrTargetPath (Optional)
Type: SystemString
target path

Return Value

Type: String
String
Examples

GetFileCopy

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
dim objso
set objso = CreateObject("superoffice.application")
If not (objSO is nothing) Then
    msgbox objso.database.getdocument(2).getfilecopy
end if

See Also