Find The Notes Program Directory

We all know how to get the Notes Data diectory ....

If one wants to find the Notes Program directoty !?

The following code is implemented as LS function and will return the Notes
Program directory.

This code uses "Notes undocumented API feature".
Following code should be put in "Declaration" section of the object which uses
this function.

Declare Function OSGetExecutableDirectory Lib "NNOTES.DLL" Alias
"OSGetExecutableDirectory" (_
Byval DirName As String,_
Byval Size As Long) As Long

Function GetNotesProgramDirectory As String
Dim DirPath As String*512
Dim Size As Long
Dim Handle As Long



End Function

Dig Deeper on Domino Resources



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...