Activelock
September 05, 2010, 02:13:55 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Latest version of Activelock is v3.6.1
 
   Home   Help Search Calendar Login Register  
Pages: 1 [2]
  Print  
Author Topic: Activelock Access Demo  (Read 3497 times)
gokuguam
Newbie
*
Posts: 5


View Profile WWW
« Reply #15 on: February 17, 2010, 05:17:56 AM »

Ismail, can you tell me which files i needed to download to get my Access apps working with ActiveLock?

Based on your conversation, i need ALCrypto3.DLL but i cannot seem to find it in your download page or in my installer folder.  Thank you.
Logged
ismail
Administrator
Hero Member
*****
Posts: 862


Administrator


View Profile Email
« Reply #16 on: February 17, 2010, 09:48:18 AM »

ALCrypto is no longer used/needed with the latest version of Activelock.
Thta's why you should download and install the latest version from here first:
http://www.activelocksoftware.com/downloads.html
You need only the VB6 version.

Then download the Access sample from that same page as well.
It was written by David Airey.

Then open that Access demo and if it has any code to check the existence of ALCrypto DLL, just remove it.

Also, under Visual Basic part of the Access file, go to References, and update the reference to the new Activelock DLL under system32. And find and correct the CRC of the Activelock DLL inside the Value() function. The code that checks the CRC is something like
if CRC <> Value then
Stop the execution on this line and make sure the contents of the Value function are the same as the CRC value.

That's it.
Logged

Ismail
Activelock Project Admin
mhauge
Newbie
*
Posts: 5


View Profile
« Reply #17 on: July 16, 2010, 10:27:42 PM »

Ismail,

I want to add this to my Access Application.  I have 2 questions...

1.  How do I get around the Vista UAC  issue.  The access demo only works with the UAC off.  I have read other threads, but I can't find how to resolve this in a non-EXE application. 

2.  How are the necessary dll's deployed to the end user to run the application?

I'm a step closer, but I haven't been able to resolve these issues due to my ignorance.

Thanks - Marc

Logged
ismail
Administrator
Hero Member
*****
Posts: 862


Administrator


View Profile Email
« Reply #18 on: July 27, 2010, 03:47:25 PM »

Marc,

Download the VB6 package. There's a iss setup example file in there which demonstrates what's needed for deployment. For Access, if the user has VB6 runtimes installed (which is usually the case) all you need is the Activelock DLL for VB6.

Regarding the Vista UAC... What's not working? The trial or regular licensing?
If it's the trial, see the other thread on trial I just responded to.
If not, let me know.
Logged

Ismail
Activelock Project Admin
mhauge
Newbie
*
Posts: 5


View Profile
« Reply #19 on: July 27, 2010, 04:52:16 PM »

So for the 1st part, I could have the installer package put the dll file in the end users System32 folder?




For the 2nd part I when I go to open the access demo program that I downloaded from your site I get the following error

"Run-time error 2501: the Openform action was cancelled"  When I debug I get "DoCmd.OpenForm "frmLicense".

When I go to administrator mode in Vista, it works fine.  Obviously I can't require my end users to be in administrator mode.
   
Logged
ismail
Administrator
Hero Member
*****
Posts: 862


Administrator


View Profile Email
« Reply #20 on: July 27, 2010, 06:05:46 PM »

Ok but tell me whether the Access code uses TrialNone or not.
If the trial was set, this is happening with the trial mode.
If not, it's a licensing problem. In any case, the Access code is relatively old. It's reference should be changed to the newest version. Also make sure you have downloaded the 3.6.1 VB6 package.
Logged

Ismail
Activelock Project Admin
perlfan
Newbie
*
Posts: 8


View Profile Email
« Reply #21 on: August 07, 2010, 09:02:29 AM »

Unfortunately, I am also getting the "alcrypto3.dll could not be found..." error message when I start the demo.

The only thing what I changed before I started the database is that I put in the VCode that I had generated
before with the ALUGEN key generator. I really would like to get this to work, but still don't know how.

Help would is much appreciated :-) THX - Regards, Frank

Code:
'Activelock parameters CHANGE ALL THESE PARAMETERS
Public Const LICENSE_ROOT As String = conAppName '// Activelock parameter see 'conAppName' above
Public Const conAllAppVersion As String = "2.0" '// Activelock parameter.
Public Const conAllSoftwarePwd  As String = "21B.4BA.44C.273.46D.247.462.268.44C.273.4F1.4D0.210.210.21B.226.4BA.44C.462.4FC.4F1.4A4.512.528.226.25D.25D.44C.457"
                                            '// Encrypted password string (Enc("some obnoxious string")
Public Const PUB_KEY As String = "RSA1024BgIAAAAkAABSU0ExAAQAAAEAAQBtsrZrK7AYFM82rKiXpChe4oTJp51JU92XoFw3chySVe/oJ9u5Ophwc7aMxz985npTGmgYGW+At2LKfNq7dNf+FsMiZQx7a3jrReVzhljO7Klt5u5ydcYgzsVvoTRHQrgZXIebTrsr+pwsOBltrWskeDDkn3E4e+zcqtBMrWD5nQ=="
                                 '// Encrypted ALUGEN VCode (Enc("VCode")
Public Const CHECK_SUM As String = "25D.21B.210.21B.21B.268"
                                 '// Encrypted ActiveLock3.6.DLL CRC value - See Note #1
Public Const strALLVendorEmail As String = "license@MyCo.com" '// Activelock use
Logged
ismail
Administrator
Hero Member
*****
Posts: 862


Administrator


View Profile Email
« Reply #22 on: August 07, 2010, 09:22:59 AM »

ALCrypto is no longer used or needed. Read my post in this thread.
Logged

Ismail
Activelock Project Admin
perlfan
Newbie
*
Posts: 8


View Profile Email
« Reply #23 on: August 09, 2010, 02:10:31 AM »

Hi there. Thanks for your answer. So I removed the acrypto3.dll part in the checkresources function and I have come far...:-)
Almost there I think. I successfully created a licence key, but when I tried to active the software with that I got the
error message "Software code has not been set" (see attached image).
I didn't find the message in the code so this is why I am asking again for help!!
Thanks in advance for your response! Frank
Logged
perlfan
Newbie
*
Posts: 8


View Profile Email
« Reply #24 on: August 11, 2010, 02:50:05 AM »

Can somebody help me out here? Would be great.

Thanks - Frank
Logged
ismail
Administrator
Hero Member
*****
Posts: 862


Administrator


View Profile Email
« Reply #25 on: August 11, 2010, 03:00:41 AM »

PUB_KEY (SoftwareCode) or VCode was not set.
Generate this for your app using a unique SoftwareName and SoftwareVersion for your app in ALUGEN (KeyGen) and SAVE it.
Copy that VCode to your app and use it as PUB_KEY.
Logged

Ismail
Activelock Project Admin
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!