NTPSetKeyFileName ( <NewKeyFileName> ) -> <ErrorCode>
Description
This command allows the definition of a file to be used for key validation purposes, a file that contains the registration key. By default, the key is saved in the configuration file NTP.INI.
In order for NotesToPaper to use the "standard file", the function is reset by passing an empty string or using the NTPClearKeyFileName command.
Note: Further information can be found at "registration key"
Note: The command NTPSetKeyFileName must be used before using the NTPInit or NTPInitFromDatabase commands.
Declaration for Lotus Script
Declare Function NTPSetKeyFileName Lib "NTP.DLL" ( ByVal NewKeyFileName As String ) As Long
Parameter
<NewKeyFileName> (STRING)
Name of the key file to be used for the key validation (file name incl. path name).
Return value
<ErrorCode> (LONG)
Number of the error encountered (0 = no error)