Click or drag to resize

IDatabaseSettings Property

Get the database settings object - does not require login to use.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOSettings Settings { get; }

Property Value

Type: SOSettings
SOSettings
Examples

Get SuperOffice settings

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

VB
dim objso
set objso =  CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    'these  setting does not require login.
    set  setting = objso.settings
    msg  = "language code: " & setting.languagecode
    msg  = msg & vbcrlf
    msg  = msg & "central archive path: " & setting.centralarchivepath
    msg  = msg & vbcrlf
    msg  = msg & "central data source: " & setting.centraldatasource
    msg  = msg & vbcrlf
    msg  = msg & "superof5.ini path: " & setting.superofinipath
    msg  = msg & vbcrlf
    msgbox  msg, vbinformation, "superoffice settings"
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also