CodeLocker32(tm) ActiveX Control User Manual

Brief Description
CodeLocker32(tm) is a 32 bit Activex Control wich provides software protection from illegal copies, and tools to assist YOUR USER in the registration process of HIS/HER SOFTWARE.

It ensures that your product cannot be transported between several machines without paying a new license registration, using an advanced encryption mechanism and a high security algorithm to determine "unlock keys" for a copy of software. It means that an unlock key can only be used in a determined machined. When the user tries to use it in another computer, then the unlock key turns itself unusable.

Implementation Guide

To implement CodeLocker32 in your project is a very easy task. Take a look at the following steps:

1. Put an instance of CodeLocker32 OCX in the main form of your application
2. In the Form_Load procedure place the following code:

	Sub Form_Load()
		'Optionally you can set several properties of CodeLocker After
		'Launch the RegisterSoftware method.
		'CodeLocker1.RegWinTitle = "MyApp ShareWare message"
		'CodeLocker1.RegWinMessage = "Register this software soon..."
'...
 '...
		Call CodeLocker1.RegisterSoftware
	End Sub

Using the Registered property you can execute portions of your software conditionally, for example:

1. Put the following code in the General/Declarations section of a module:
Global REGISTERED As Boolean
2. Put an instance of CodeLocker32 OCX in the main form of your application and a Command Button called Command1.
3. In the Form_Load procedure place the following code:

Sub Form_Load()
	'Optionally you can set several properties of CodeLocker After
	'Launch the RegisterSoftware method.
	'CodeLocker1.RegWinTitle = "MyApp ShareWare message"
	'CodeLocker1.RegWinMessage = "Register this software soon..."
'...
'...
Call CodeLocker1.RegisterSoftware
REGISTERED = CodeLocker1.Registered
End Sub

4. Now, at the portion of code you want to restrict, place the following:

	Sub Command1_Click()
		If REGISTERED Then
			...Continue Execution
		Else
			MsgBox("You have to register to access this functionality...")
		Endif
	End Sub







Installation Guide
You have downloaded a ZIP file named CL32.ZIP Decompress al the files in a directory and then run the Setup.EXE program.

Then open Visual Basic version 6 and include CodeLocker32.OCX in the Project/Components window.


Own Properties summary

Property Name

Description
KeyCode

<object>.KeyCode
Returns a string expression that represents the "unlock key" who registered the software product protected by CodeLocker32. 
OrderFormFile

<object>.OrderFromFile
Returns a string expression that represents the Path and Filename of the file who has the text to display or print with the "Order Form" button in the "Registration Window".
Registered

<object>.Registered
Returns a boolean expression who determines if the running copy of the protected software is registered or not.
RegistryEntryName

<object>.RegistryEntryName
Sets or returns a string expression that represents the name of the entry in the system registry that will hold the CodeLocker32 settings.
RegWinMessage

<object>.RegWinMessage
Sets or returns a string expression that represents the text message to display in the "Registration Window"
RegWinMsgFont

<object>.RegWinMsgFont
Sets or returns the font type to apply to the RegWinMessage.
RegWinMsgForeColor

<object>.RegWinMsgForeColor
Sets or returns the ForeColor to apply to the RegWinMessage.
RegWinPicture

<object>.RegWinPicture
Sets or returns the picture object to display in the "Registration Window".
RegWinTitle

<object>.RegWinTitle
Sets or returns a string expression that represents the title text to display in the "Registration Window"
RegWinTitleFont

<object>.RegWinTitleFont
Sets or returns the font type to apply to the RegWinTitle.
RegWinTitleForeColor

<object>.RegWinTitleForeColor
Sets or returns the ForeColor to apply to the RegWinTitle.
SerialNumber

<object>.SerialNumber
Returns a string expression that represents the "Serial Number" that your user must inform you to determine the "Unlock Key".
UserName

<object>.UserName
Returns a string expression that represents the "User Name" that you user has written in the "Registration Window".



Own Methods summary

Method Name

Description
AssistantKeyCodeGenerator

<object>.AssistantKeyCodeGenerator
Launchs the "Key Code Generator Window" to assist the programmer in the KeyCode process determination. With this method, the programmer can build his own aplication to calculate "Unlock Keys".
KeyCodeGenerator

<object>.KeyCodeGenerator
Calculates the KeyCode property value using the values found in UserName and SerialNumber properties. 
It's useful to implement a batch KeyCode calculation process.
RegisterSoftware

<object>.RegisterSoftware
Initiates the "Registration Process" and displays the "Registration Window". Here your user can register his copy of software using the KeyCode you provided him.



How to Contact Us:

G. Chuliver & Asoc.
Mail Address:	Virrey del Pino 2811 6 "A"
(1426) Buenos Aires. Argentina

Tel.		(54-11) 4782-3063
Email:		gcha41@hotmail.com

SBM - Software for Business and Management		CodeLocker32 User's Manual

		Page 1/1

