Click or drag to resize

IDatabaseGetResourceList Method

Returns a list of resources (associate.type = 1)

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
IListTextItems GetResourceList()

Return Value

Type: IListTextItems
IListTextItems – a collection of ListText objects
Examples

Get the resourcelist

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

VB
dim objso
dim objlistitems
set objso  = CreateObject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login "<username>",  "<password>"

    set  objlistitems = objso.getresourcelist
    for each item in objlistitems
        msgbox item.text
    next
else
    msgbox "unable to connect to database"
end if
set objso  = nothing

See Also