The location of the ID file is kept in the notes.ini file and is the value of the environment variable KeyFilename. The following will access the value and place it in the strVAlue string, which you can then use to attachÉ the file to the new document.
Dim session As New NotesSession
Dim strValue As String
strValue = session.GetEnvironmentString
( "keyfilename" , True)
Do you have comments on this Ask the Expert question and response? Let us know.
|