473,324 Members | 2,370 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Using VBA to add an activation code to an application

547 512MB
I need to add an activation code to an application when it is opened for the first time by a client.

Many moons ago i used a Keygen program.
On opening the VBA app it created a code that i fed into the keygen program, a keygen code was then created and this was given to the client to activate my application.

I would be great full if somebody has an idea to protect my application.


Any suggestions or examples that i should look at?
Jun 13 '13 #1

✓ answered by zmbd

neelsfer:
As access is insecure by design, it would be very difficult to do something like this internally.
You should take a read thru the Microsoft Access / VBA Insights Sitemap Look for the AES, SHA2, and RC4 articles. These may provide some methods for encrypting something vital to the application - say a query, store the encrypted query sql within a table... have serial number in the table and so forth.
A little bit outside of what I normally do.
Hopefully, you'll get a few more hits on this thread.

4 3367
zmbd
5,501 Expert Mod 4TB
neelsfer:
As access is insecure by design, it would be very difficult to do something like this internally.
You should take a read thru the Microsoft Access / VBA Insights Sitemap Look for the AES, SHA2, and RC4 articles. These may provide some methods for encrypting something vital to the application - say a query, store the encrypted query sql within a table... have serial number in the table and so forth.
A little bit outside of what I normally do.
Hopefully, you'll get a few more hits on this thread.
Jun 20 '13 #2
neelsfer
547 512MB
zmbd can one use VBA to Save a date or a unique code in the Registry, and somehow link an activation code to it when installing the first time?
Jun 24 '13 #3
zmbd
5,501 Expert Mod 4TB
Yes there are some general registry commands available within the VBA that you can use... I am however, on my way out the door, I'll see if I can find them for you... seems to me it was "SaveSettings" you might open the VBAE and in a sub enter that keyword, select, F1 it.
Jun 24 '13 #4
zmbd
5,501 Expert Mod 4TB
here you go: Use the GetSetting and SaveSetting Functions to Read and Write Registry Settings


There are also various methods using API calls, once such uses the WMI... neither of which am I very knowledgable about; however, there is an insight article about the WMI in the same place as the others I refered you to.
Jun 24 '13 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Dave Smithz | last post by:
Hello There, I obtained a visual studio .net which I installed a few months ago but then never had time to use. I obtained a new copy of the trial which is slightly newer. However, because I...
2
by: Napo | last post by:
Hi: i build a .net application named A.exe. I need run this application twice using c# code in another application. i try to use process.start(A.exe) twcie, but it failed. Because the second...
2
by: DB | last post by:
Hi All, I have to execute dos command containing batch file using asp.net application. Code for batch file execution is working properly when I tried it with console application but same code...
0
by: PawelR | last post by:
Hello group, I have old source code in C++ with crypt function. This code include <wincrypt.h>, and afxwin.h. How use this code - function - in ASP.NET. I can't use crypt function to secure my...
1
by: B. Nelsen | last post by:
Hello, I have an ASP provider and an Access Database. I need to build a small webpage where the user can enter his "user id" and a "hardware code", and if the "user id" is correct (will be checked...
1
by: Andy B | last post by:
I am making a web application that would randomly create an activation code and put it in a database. The web application would then send it in an email to the user with a link to go to and enter...
5
by: Andy B | last post by:
I am making a web application that would randomly create an activation code and put it in a database. The web application would then send it in an email to the user with a link to go to and enter...
0
Jal Pari
by: Jal Pari | last post by:
Hi, Could anyone help me to tell the activation code for adobe flash CS3?? There are 7 box numbers to enter number but space/boxs are 6... could anyone help me???
2
by: lemar freaq | last post by:
i lost my activation code and now don't know what to do
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.