IDocumentfilename Property |
Filename - does not include path
The documents filename - as it is saved in the document archive. The filename is used in the path to open the document (SO_arc<SOAssociate.LoginName><Timeperiod><FileName>
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxstring filename { get; set; }
Property filename As String
Get
Set
Dim instance As IDocument
Dim value As String
value = instance.filename
instance.filename = value
property String^ filename {
String^ get ();
void set (String^ value);
}
Property Value
Type:
StringString – the documents filename with extension
ExamplesFilename
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 "Current document filename is: " & objSO.CurrentDocument.filename, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also