LOTUSSCRIPT/COM/OLE CLASSES
Examples: Initialize method
1. This Visual Basic code initializes a Domino session based on the current user ID without supplying a password. The user is prompted as necessary.
Private Sub InitializeDomino_Click()
Dim s As New NotesSession
Call s.Initialize
MsgBox s.CommonUserName, , "Common user name"
End Sub
2. This Visual Basic code initializes a Domino session based on the current ID and supplies a password.
Private Sub InitializeDomino_Click()
Dim session As NotesSession
Set session = CreateObject("Lotus.NotesSession")
Call session.Initialize("secretPassword")
TextUsername = session.UserName
End Sub
See Also
Initialize method
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary