VB - A Program Registration Scheme
Hi,im looking for a source of hd serial check,cause im making a program but i dont want everybody use it so im trying to find a ocx or source that let me add it to my program,so when people open the program it ask for the first time if u have valid key then it let u use it and it dont ask u again but if it wrong it will ask for the up to u have a valid key
Re: VB - A Program Registration Scheme
Quote:
Originally Posted by BaNdO
Hi,im looking for a source of hd serial check,cause im making a program but i dont want everybody use it so im trying to find a ocx or source that let me add it to my program,so when people open the program it ask for the first time if u have valid key then it let u use it and it dont ask u again but if it wrong it will ask for the up to u have a valid key
plenty of examples in the codebank
Re: VB - A Program Registration Scheme
Quote:
Originally Posted by BrailleSchool
plenty of examples in the codebank
i can't find what im looking cause i know how to get the hd serial but not to make what i posted b4 any example?
Re: VB - A Program Registration Scheme
You know how to retrieve HD serial... but don't know what??? :confused:
Re: VB - A Program Registration Scheme
now cause i have the example of retrieve the serial,im looking on how to add the key to the registry so that form it wont load again just when u dont got the serial it will show up
Re: VB - A Program Registration Scheme
VB Code:
'to save it
SaveSetting "myAppName", "Registration", "RegKey", [B]yourSerialVariable[/B]
'to get it back
[B]yourSerialVariable[/B] = GetSetting("myAppName", "Registration", "RegKey", [B]vbNullChar[/B]) '<- vbNullChar or 0 if you have a numeric value
If yourSerialVariable = correctSerialNumber Then
frmMain.Show
Else
frmRegistration.Show
End If
Re: VB - A Program Registration Scheme
than you my brother!!!!!!!!!!!!!!!!!!!!!!
www.vbforums.com #1 best of all ; )
Re: VB - A Program Registration Scheme
Quote:
Originally Posted by BaNdO
Take it easy :D