Initialize Method

Initialize the Package control.

Syntax

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

The object is an expression that evaluates to a Package object.

The LicenseKey argument specifies a runtime license key used to initialize the control. If this argument is not specified, or the value is an empty string, the development license on the local system will be used.

The Options and Reserved arguments are unused and should not be specified.

Remarks

Normally it is not necessary to call this method, since the control is automatically initialized with the appropriate license key when the Package object is created. However, if an instance of the control is created using the CreateObject function, the Initialize method must be called with a valid runtime license key. If an invalid runtime license key is specified, or there is no development license installed on the local system, an error will be generated. If the Initialize method is used, it should be matched with a call to the Uninitialize method prior to that instance of the object being released.

See Also

Uninitialize Method