Detect Basic Mode Programatically

I am trying to determine the run mode of the Notes 8 Client during runtime, programatically. Specifically on startup, if it is in Basic or Standard modes.

Is this possible through the C/C++ API, LotusScript, or environment? Is there perhaps a way to determine the command line arguments which launched the Notes session?

Thus far, the best I’ve been able to do is through Windows detecting the javaw.exe process in standard mode, and the different top-level windows classes. This is not ideal for a number of reasons so I’m hoping some guru out there knows a better way.

Thanks much.

Subject: @Function and Lotusscript

For Formula Language: @IsInCompositeApp

For Lotusscript: notesUIWorkspace.IsInCompositeApp

[edit]

Actually now that I think of it, this is probably not going to be much use unless the related DB is a comp app as well.

So should help if you are running for the mail file for example.

You could also look for: UseBasicNotes=1 in the notes.ini but that doesn’t always guarantee it is running in basic mode (could of been launched another way).