Product Key Management System
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
Axel wrote:The definition for activate is: "make active or more active"GoodGuy17 wrote:You can make a setting in My.Settings, which is a boolean, set it to False, and call it "activated"You can't activate an event lol :P
Then, after it is activated, add this code under it:Code: Select allNext, on your activation Form_Load event, add this code at the beginning:My.Settings.activated = True
Code: Select allIf My.Settings.activated Then 'Event that happens when activated Elseif My.Settings.activated = 0 Then 'Event that happens when not activated End If
The event is active when it is activated
is there any way for the program to issue a 3-computer licence so the program can be used on 3 computers?
is there also a way for when the program is uninstalled the licence key can be used again.
i am wondering about these things, because i have a program i would like to distribute, but the people im giving it to will most likely use it on a school network (so they'll put my program on their usb, but use it on multiple computers).
one last thing: if i de-activate a key that has already been activated: will the person, i deactivated from, have to re-enter another key?
is there also a way for when the program is uninstalled the licence key can be used again.
i am wondering about these things, because i have a program i would like to distribute, but the people im giving it to will most likely use it on a school network (so they'll put my program on their usb, but use it on multiple computers).
one last thing: if i de-activate a key that has already been activated: will the person, i deactivated from, have to re-enter another key?
GoodGuy17 wrote:Not in programmingAxel wrote:The definition for activate is: "make active or more active"GoodGuy17 wrote:You can make a setting in My.Settings, which is a boolean, set it to False, and call it "activated"You can't activate an event lol :P
Then, after it is activated, add this code under it:Code: Select allNext, on your activation Form_Load event, add this code at the beginning:My.Settings.activated = True
Code: Select allIf My.Settings.activated Then 'Event that happens when activated Elseif My.Settings.activated = 0 Then 'Event that happens when not activated End If
The event is active when it is activated
Axel wrote:Yes, it applies in all terms...GoodGuy17 wrote:Not in programmingAxel wrote: You can't activate an event lol :PThe definition for activate is: "make active or more active"
The event is active when it is activated
If I activate something, it is then active.
What is it in your eyes then?
P.S. What is the point of this argument anyways... the code works...
Nice But Whats To Stop The User From Just Guessing A Key?
The actual serial key is farm more complex, it is random number somewhere between 0 and 9999999, so if you guess it, good job, you can be so lucky to crack any game '-.- Serial key isn't 1, you probably didn't understand the code, there is trial - 1, or trial - 0, if it is 0, then application isn't activated and Register/Activate form will show up, if it is 1, then it is registered and you can use it normally.
EDIT: Serial key with some lines of code can be also with letters/numbers too ;)
So there is no way you can guess it !
EDIT: Serial key with some lines of code can be also with letters/numbers too ;)
So there is no way you can guess it !
Last edited by M1z23R on Sun Aug 28, 2011 1:05 am, edited 1 time in total.
M1z23R wrote:The actual serial key is farm more complex, it is random number somewhere between 0 and 9999999, so if you guess it, good job, you can be so lucky to crack any game '-.- Serial key isn't 1, you probably didn't understand the code, there is trial - 1, or trial - 0, if it is 0, then application isn't activated and Register/Activate form will show up, if it is 1, then it is registered and you can use it normally.It still checks trough ftp or sql or something so you can't guess
Well you have to remember that these are just tutorials and this is just meant to get you started on how you could make a key manager. You can make it better and more secure by adding your own code like encrypting the keys etc.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
Copyright Information
Copyright © Codenstuff.com 2020 - 2023