Click or drag to resize

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
Syntax
string filename { get; set; }

Property Value

Type: String
String – the documents filename with extension
Examples

Filename

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 "Current document filename is: " & objSO.CurrentDocument.filename, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also