RedRegistration Methods - RedReg_Registered

See Also        Examples

Returns the registration status of RedRegistration.

Syntax:

object.RedReg_Registered()

The RedReg_Registered property syntax has these parts:

Part  Description
Object  An object expression that evaluates to an RedRegistration object

Remarks
Registration can be set by calling the method InitRegistration or by reading values from the registry. The registry method should not be used for the final product. The only time the registry key is created is during registration of RedRegistration. By calling InitRegistration you can avoid the need for the registry setting.

If this method returns TRUE (-1) then the registration code is valid. The next step would be to test the Restriction type properties for failures. If this method returns FALSE (0) then the registration code is incorrect. To test for reasons of failures, test the property LastError.

Return Value
BOOLEAN

TRUE = -1
FALSE = 0