LOTUSSCRIPT/COM/OLE CLASSES


Examples: GetDbDirectory method
This script opens the directory on the Somerville server, finds the first template database on the server, and opens the template.

Dim session As New NotesSession
Dim directory As NotesDbDirectory
Dim db As NotesDatabase
Set directory = session.GetDbDirectory( "Somerville" )
Set db = directory.GetFirstDatabase( TEMPLATE )
Call db.Open( "", "" )

See Also