RedRegistration Method - SaveRegistration

See Also        Examples

Saves user registration information to be restored by the method LoadRegistration. This minimizes the overhead required to implement the registration system.

Syntax:
object.
SaveRegistration( KeyName )

Part  Description
Object  An object expression that evaluates to an RedRegistration object
KeyName A STRING expression specifying the name of the Key that the information will be stored in.

Minimum Length = 1
Maximum Length = 254

Remarks
Returns a BOOLEAN specifying the success of the operation.

If the UserName, CompanyName, and RegCode are not valid then this method returns FALSE and LastError is set to the Error Code representing the reason for failure.

If the KeyName is invalid, or if an error occurred writing the information to the registry, then this method returns FALSE and LastError is set to the Error Code representing the reason for failure.

If the operation was successful, then the method returns TRUE.

If it is desired to have the Rights property set by calling LoadRegistration, then set KeyName to the Rights property.

Return Type
BOOLEAN