Can I know how to get the active instance of a running Lotus Notes Client ?
I am working on a com, and if I use Session.Initialise(null), each time the session instantiate, the password dialog box will prompt. I can’t hardcode the password either, as this is not an option.
I am looking for a way to use GetActiveObject(“Notes.NotesSession”) to tap to the active Notes Client, but to no avail.
Subject: I use Domino.Notessession and avoid the password prompt like this
'Use COM to get the current user's mail server and filename details
' looks in the notes.ini which was set by the settings from the current/last used location document
Dim ns As New Domino.NotesSession
'If Notes is not running, the next line will prompt for a password.
' If Notes is running and a password is prompted, ensure you set:
' File - Security - User Security - Security Basics and
' select "Don't prompt for a password from other Notes-based programs"
ns.Initialize()
The notes client will always running when the com object is activated. Is the a way to tap to the active and running notes client using domobj without password ?