What is the best way to determine release number of Lotus Notes so I can collect correct statistics by SMS

Subject: What is the best way to determine release number of Lotus Notes so I can collect correct statistics by SMS

Subject: What is the best way to determine release number of Lotus Notes so I can collect correct statistics by SMS

Hi,

you can use the NotesVersion property.

Sub Initialize

Dim session As New NotesSession

Msgbox session.NotesVersion

End Sub

There is also @Version but this returns only a reference number. This number is also available with session.NotesBuildVersion

Dave

Subject: RE: What is the best way to determine release number of Lotus Notes so I can collect correct statistics by SMS

Thank you, Dave. I know all of this methods for programmaticaly determination, but its not suitable in case of System Management Server. May be something in register or file version or something else

Subject: RE: What is the best way to determine release number of Lotus Notes so I can collect correct statistics by SMS

A machine can have more than one installed version, or parts of old versions lying around unused. So first you need a way to identify the version in normal use, and this can be difficult.For example, you could look in the registry to find the default open command for the NSF file type. That usually points to the most recently installed version – but it might be a recent beta or trial version that the user rarely uses.

Anyway, if you want external code to get the version without running Notes code, it can go to the directory where notes.exe is, and look in nstrings.dll for the resource with ID 1. This is the version string, the same as the NotesVersion property in LotusScript.

If your external code cannot do this, then you might have to run Notes code to store the version in a special file. For example, you could modify the mail template to make every mail database do this.