Test if Lotus Notes is active

Guus2005

AWF VIP
Local time
Today, 13:39
Joined
Jun 26, 2007
Messages
2,642
Hi there.

I want to test if Lotus Notes is active without using

' Set Session = CreateObject("Notes.NotesSession")
or
' Set Session = GetObject("", "Notes.NotesSession")

They both open a LoNo window in which the user can start up LoNo.
I don't want to confuse the user with the LoNo startup screen while they're in my Access App.

Is there another way to accomplish this?
Is there a LoNo file created somewhere when LoNo is up and running?

Thx!
 
Does CreateObject open a new window if Lotus Notes is already running? That is not 100% clear to me from your post.

For Outlook I use CreateObject("Outlook.Application"), which opens it if Outlook is not running, but grabs the running Outlook, if it is.

I seem to recall reading somewhere that it is a Windows setting for the given application, that tells windows whether more than one session of that application can run simultaneously , and this info percolates to the CreateObject
 
Does CreateObject open a new window if Lotus Notes is already running? That is not 100% clear to me from your post.
I don't know. I can't run LoNo on this test server. But the testers can. They get an error message if the program is programmed to sent an email.
For Outlook I use CreateObject("Outlook.Application"), which opens it if Outlook is not running, but grabs the running Outlook, if it is.
Outlook and Lotus Notes are two different programs. Lotus Notes requires a person to login with username and password (at least the version i am running) and i don't want to do that.
I just want to check if it is running. That's all. Nothing more, nothing less.

The main difference with Outlook is that you can start it up and it uses windows security credentials. So no login and password required.

Unfortunatly, this company uses the inferior Lotus Notes mailing system.
 
I just want to check if it is running. That's all. Nothing more, nothing less.

Then I suggest you locate a process name that is guaranteed to be in the process list even if Notes is at the login prompt, and query the Process List for that process name.
 

Users who are viewing this thread

Back
Top Bottom