Initialize Method

Initialize the control and validate the runtime license key.

Syntax

object.Initialize([LicenseKey], [Options], [Reserved])

Remarks

This method explicitly initializes the control. Typically this is not required because it's done automatically when the control is loaded by the application. Note that the Terminal control should not created using the CreateObject function because it is a visual control.

LicenseKey
A string which specifies a runtime license key used to initialize the control. Normally this argument is not needed, since the appropriate license key is used when an instance of the control is created. If the license key is omitted or passed as an empty string, a development license must be installed on the local system.
Options
An argument reserved for future use. This argument should not be specified.
Reserved
An argument reserved for future use. This argument should not be specified.

Return Value

A value of zero is returned if the control was initialized successfully. Otherwise, a non-zero error code is returned which indicates the cause of the failure.

See Also

Uninitialize Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.