Click here to Skip to main content
16,020,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I built a software program using VB6.0

Now I want to add a licence key to the program, so that when installing, it must ask user to enter licence key. It can vary from system to system.

Any Help will be great.

Kishore
Posted
Updated 30-Nov-10 0:36am
v3
Comments
[no name] 30-Nov-10 4:53am    
yes .. i had done similar thng in .Net, could u plzz share details
kishore Rajendran 30-Nov-10 5:02am    
I done a billing software using Vb6.0, i need to add licence key...what details do you need?Please tell me
Dalek Dave 30-Nov-10 6:45am    
Have you tried moving into the 21st Century? Seriously, get VB.Net, VB6 is no longer supported.

1 solution

There are different ways to achieve this

1) encrypted license files that contains the expiry dates etc.
2) encrypted license keys held in the registry
3) challenge/response mechanism which require an internet connection
4) probably others.......

Try: License Key Generation[^] or: How can I create a Product Key for my C# App[^] or: c# Licensing[^]
Couple of them are in C# which can be seen to start on Vb.NET
Also,
Cryptography 101 for the .NET Framework[^]

Hope this helps.
 
Share this answer
 
Comments
Dalek Dave 30-Nov-10 6:44am    
Good Answer, but why is he using VB6?

Old legacy software should be abandoned.
Member 12884943 3-Dec-16 12:24pm    
i need safeplicity licence key
CHill60 4-Dec-16 14:48pm    
Then go buy one

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900