LOTUSSCRIPT/COM/OLE CLASSES
Sub Initialize Dim session As New NotesSession Dim adminp As NotesAdministrationProcess Set adminp = _ session.CreateAdministrationProcess("NE/Sales") noteid$ = adminp.SignDatabaseWithServerID("NE/Sales", _ "customers.nsf") If noteid$<> "" Then Dim db As New NotesDatabase("NE/Sales", "admin4.nsf") Dim ws As New NotesUIWorkspace Call ws.EditDocument(False, db.GetDocumentByID(noteid$)) End If End Sub
See Also