Use other Notes Data Path for NotesSession

Hi,

I have installed multiple version of lotus notes on my machine 5 and 6.

i have developed a simple c# program that opens a NotesSession using the following code:

NotesSession s = new NotesSession()

s.Initialize(“”)

after this calls the user is prompted to enter a password. in the dialog the path to the Lotus Notes 6 installation data folder is displayed. so far so good.

I started the program on a desktop of a friend. he has also 5 and 6 installed. but in the dialog the path to the ln 5 installation data folder is displayed!?!?

where does NotesSession look for the data path?

thanks

mario

Subject: Use other Notes Data Path for NotesSession

Maybe this will help you? Whenever I’ve run two or more clients on a machine I’ve always configured the icons as follows:

c:\path\to\client\nlnotes.exe “=c:\path\to\data\for\client\notes.ini”

The key parts being the nlnotes.exe as notes.exe seems to ignore the parameter.

Then having a unique data folder and notes.ini for each client.

I assume the default is located in the Windows Registry for notes.exe