NTPSetProductCode ( <NewProductCode> ) -> <ErrorCode>
Description
This command sets the product code of the registration key. Setting the product code is necessary only if NotesToPaper was purchased as a product license and this license is to be integrated in the respective application. The product code is then part of the activation key and must be set before executing the reports (NTPInit or NTPInitFromDatabase). You will automatically receive the product code when purchasing a product license. For further information, especially when integrating NotesToPaper as a product license, contact the NotesToPaper support.
Note: In order to clear a product code, the function may either be called by passing an empty string or by use of the NTPClearProductCodecommand.
Note: A product code or the setting of the product code may NEVER be accessible to the end-user. If the code is accessible to the end-user, it may be possible to use this product license in other applications.
Note: Further information can be found under "registration key"
Note: The command NTPSetProductCode must be used before using the commands NTPInit or NTPInitFromDatabase in a script.
Declaration for Lotus Script
Declare Function NTPSetProductCode Lib "NTP.DLL" ( ByVal NewProductCode As String ) As Long
Parameter
<NewProductCode> (STRING)
The product code of the registration key
Return value
<ErrorCode> (LONG)
Number of the error encountered (0 = no error)