ActiveLock FAQ
What's the price of ActiveLock?
ActiveLock is free. It is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
Install questions
How do I install ActiveLock?
1. Download nslock15vb5.zip and extract it into the directory you want.
2. Run install.bat to register the ocx files.
3. Enable ActiveLock in the Visual Basic Components dialog box
How can I uninstall ActiveLock?
1. Run uninstall.bat from the ActiveLock directory.
2. Delete the ActiveLock directory.
I have installed ActiveLock but I do not see it in the toolbox?
Did you enable ActiveLock in the Controls tab of the Components dialog box?
If not, open Components dialog box, scroll down until you spot "ActiveLock 1.5" and check it.
Programming questions
How do I create different versions of the same software?
Use different software names for each version. (e.g: "MySoft 1.0", "MySoft 2.0")
How should I assign the password property?
It's possible to assign the password at design time, using the property sheets,
but the best practice is to set the password at runtime, and hide the it inside
the source code. Example:
W = "Word"
P = "Pass"
ActiveLock1.Password = UCase(P) & UCase(W)
Better yet: use variables from different modules, functions, hidden labels and
objects' tags. Example:
ActiveLock1.Password = gVariable & Label7.Caption _
& Form3.Tag & Chr(68)
How do I check user registration?
Use the RegisteredUser property:
If Not (ActiveLock1.RegisteredUser) Then
MsgBox "Please register!"
End If
How do I implement time evaluation periods?
Use the UsedDays property:
If (ActiveLock1.UsedDays > 21) Then
MsgBox "Your evaluation period has expired."
End If
What happens if the user changes the time settings?
You can avoid that the users extend their evaluation periods.
Use the LastRunDate property:
If (ActiveLock1.LastRunDate > Now) Then
MsgBox "You have changed your time settings."
End If
How do I create a form to allow users to register?
First, you must show the SoftwareCode to your users, and you can
do that with a Label:
Label1 = "Your software code is " & ActiveLock1.SoftwareCode
When the user receives a LiberationKey, he/she will type it on
a text box and click on a button. The following code shows how
that works:
Private Sub Command1_Click()
' Set the LiberationKey with the Text1 text.
ActiveLock1.LiberationKey = Text1
End Sub
For more information, see the sample projects or the help file.
Does ActiveLock package include a help file?
Yes. It's an HTML help file and is called "nslock15.chm".
How do I generate LiberationKeys?
Use the KeyGenerator to create and send keys to your users via e-mail.
It's important to note that ActiveLock generates a different
SoftwareCode for each installation. Therefore, you must give (or sell)
a different LiberationKey for each user.
IMPORTANT NOTICE:
Click here to see the new ActiveLock
web site and get your free user-registration web page!