RedRegistration Method - InitRegistration

See Also        Examples

Initializes RedRegistration with developer's registration code. This will prevent the nag screen from RedRegistration, and set's up the developers key codes, so that codes generated by the developer will evaluate properly.

Syntax:
object.
InitRegistration( UserName, CompanyName, RegistrationCode)

Part  Description
Object  An object expression that evaluates to an RedRegistration object
UserName A STRING expression specifying the name of the Registered user's UserName.

Minimum Length = 0
Maximum Length = 254

CompanyName A STRING expression specifying the name of the Registered user's CompanyName.

Minimum Length = 0
Maximum Length = 254

RegistrationCode  A STRING expression specifying the registration code provide when registering RedRegistration.

Minimum Length = 5
Maximum Length = 254

Remarks
Returns a LONG specifying the registration status of RedRegistration. If Registration was successful, then the return value is -1. Otherwise the return value is 0, and the property LastError is set to the Error Code representing the reason for failure.

Return Type
LONG