954,558 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to Create Product Registration Code for VB Application.

Hello,
Hope you are doing excellent.
I have developed a small commercial application in VB+MSAccess.

Now, I want to sale it with trial version and registered version.

However, I am not getting a perfect logic to write in VB to design a Product Registration Code!

Please guide me in this regard. Thank you very much.

Chetan

chetanpbhalerao
Newbie Poster
5 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

:lol: Hello,
Hope you are doing excellent.
I have developed a small commercial application in VB+MSAccess.

Now, I want to sale it with trial version and registered version.

However, I am not getting a perfect logic to write in VB to design a Product Registration Code!

Please guide me in this regard. Thank you very much.

Chetan

9822082966
Newbie Poster
1 post since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

You could make an algorithm where the numbers in the code must add to be a multiple of 7. This is used by the Visual Basic .NET setup project.

For instance:
0052-1411-3210-7000 would be a product key as the digits all add to 7.
As would be 1114-8600-9831-9984. Because the first set of digits add to 7, the second set to 14, the third to 21 and the last to 28.

Dukane
Posting Whiz in Training
295 posts since Oct 2006
Reputation Points: 45
Solved Threads: 29
 

You can use this open source solution so you can change the code that protects your software so it isn't as easy to crack, because every program is never 100% protected. It just depends on how "wanted/needed" your application is in the pirate community.

Anyways, I've been using it alot myself and was once a project administrator.

Visit www.activelocksoftware.com they have a great forum to ask questions that may come up.

Sentax
Newbie Poster
18 posts since Nov 2006
Reputation Points: 10
Solved Threads: 2
 

Thank u very much for the positive reply along with the proper site address.

Well, Can I something more about your profession, location and work profile?

I am Software Engineer from Pune, INDIA.

chetanpbhalerao
Newbie Poster
5 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

Thank u very much for the reply along with the code logic. But I know we can have such type of logic in it.

What I want is, once I will run setup on client's machine and then will register the product, then client should not be able to reuse of that registration code on same or any other machine, even though he will have a copy of setup with him.

So, can we use some machine code to generate registration code dynamically? Or any other such machine dependent alternative?

Well, Can I know something more about your profession, location and work profile?

I am Software Engineer from Pune, INDIA.

chetanpbhalerao
Newbie Poster
5 posts since Dec 2006
Reputation Points: 10
Solved Threads: 0
 

When someone clicks the "Register" button, the program connects to a database. If that entered key is already in the database, deny the registration. If it is not, then check to see if the correct algorithm is met. If not, deny the registration. If it is, the unlock the software and then enter the entry into the database thereby locking out any further attempts to register using that code. Then keep the authentication algoritm a secret so someone cannot guess it.

Dukane
Posting Whiz in Training
295 posts since Oct 2006
Reputation Points: 45
Solved Threads: 29
 

hello i can help you to create and check the License keys provided you mail me at [email]neerajraja2001@yahoo.co.in[/email] and i will give you the code and tech you to implement this for free.

Neeraj Sharma
Newbie Poster
4 posts since Sep 2007
Reputation Points: 9
Solved Threads: 0
 

You could make an algorithm where the numbers in the code must add to be a multiple of 7. This is used by the Visual Basic .NET setup project.

For instance: 0052-1411-3210-7000 would be a product key as the digits all add to 7. As would be 1114-8600-9831-9984. Because the first set of digits add to 7, the second set to 14, the third to 21 and the last to 28.


Hello all can you help me up with this guys.. i have this application with a product id which is in Hexadecimal format..wat i mean is an alphanumeric format.. and it is asking for a product key.. how can i suppose to know the product key?

can you give me some idea how to calculate this or convert this so that it will come up with the right product key..

Product Key = Product Id

Advance thanks to u all..

web81
Newbie Poster
2 posts since May 2008
Reputation Points: 10
Solved Threads: 0
 

Have you looked at tools like CryptoLicensing which give a ready-made licensing scheme for you to use? This scheme can be used for trial + full licenses.

ghimangi
Newbie Poster
20 posts since Jan 2009
Reputation Points: 10
Solved Threads: 1
 

i am cusomer lname & fname accepted by user as indiviual textboxes .
i want to concatnate them &n show into one combobox
please give the code for it

sameer salekar
Newbie Poster
1 post since Dec 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You