TranOutActDlg
is the template for the Transfer utility, transfer-out step, which includes the
auto-deactivation option. It allows the end-user to choose to do the transfer offline
(to a different computer) or online (to the Activation Server). The dialog
requires the entry of Registration ID from the new site, and generates a
License Key for the transfer (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.
IDC_REGIDTRAN, IDC_LICKEYTRAN,
IDC_ACTKEY
ImportButton
Reads the
Registration ID from a text file, and then sets it to IDC_REGIDTRAN.
OKButton
Processes
the transfer-out by getting the Registration ID from IDC_REGIDTRAN, and
then generates a License Key to IDC_LICKEYTRAN.
ExportButton
Gets the License
Key from IDC_LICKEYTRAN, and then saves it to a text file.
CancelButton
Cancels and closes
the dialog box.
DeactivateButton
Processes
the deactivation by getting the Activation Key from IDC_ACTKEY, and
connects to the Activation Server to deactivate the protected application. Note
that the Activation Key must not exceed 355 characters.