RegActDlg Template

RegActDlg is the template for the Registration dialog that includes the auto-activation option. It allows the end-user to choose to activate offline (via email, phone, fax, etc.) or online (via the Internet). The dialog shows a Registration ID and requires the entry of License Key (for offline) and also requires the entry of Activation Key (for online). This template requires the HDLG.INI file that specifies the URL address of the Activation Web Service.

Parameters

Main

IDC_REGID, IDC_LICKEY, IDC_ACTKEY

Optional

IDC_LICNAME, IDC_LICORG, IDC_MAXEXEC, IDC_EXECCOUNT, IDC_EXECLEFT, IDC_MAXDAY, IDC_DAYCOUNT, IDC_DAYLEFT, IDC_MAXYEAR, IDC_YEARCOUNT, IDC_YEARLEFT, IDC_MAXDAYPERIOD, IDC_DAYCOUNTPERIOD, IDC_DAYLEFTPERIOD, IDC_EXPDATE

Commands

OKButton

Processes the offline activation by getting the License Key from IDC_LICKEY, checks and, if valid, puts it into the Key.

CancelButton

Cancels and closes the dialog box.

RegisterButton

Loads the specified target object, for example, a URL address, an email address, a text file, etc.

ActivateButton

Processes the online activation by getting the Activation Key from IDC_ACTKEY, and connects to the Activation Web Service to activate the protected application. Note that the Activation Key must not exceed 355 characters.