NTPSetDesignerKey ( <RegistrationKey> ) -> <ErrorCode>
Description
This command allows the setting of the registration key at run-time for NotesToPaper Designer. This allows the setting of the key via a script routine and thus not having to save the key in the NTP.INI.
In order for NotesToPaper Designer to be reset to the default key validation routine, this function is cleared either by passing an empty string or using the NTPClearDesignerKey command.
Note: Additional information to the registration key may be found in the online help.
Note: The command NTPSetDesignerKey must be used before the NTPDesigner command.
Declaration for Lotus Script
Declare Function NTPSetDesignerKey Lib "NTP.DLL" ( ByVal RegistrationKey As String ) As Long
Parameters
<RegistrationKey> (STRING)
The registration key that is to be used for validation.
Return value
<ErrorCode> (LONG)
Number of the error encountered (0 = no error)