It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Product registration key

Moderator: dafunkymunky

Product registration key

Postby blackjacker on Sun Aug 03, 2008 8:17 pm

hey
im looking for a simple way to make a product key registration for a small aplication i made

should be something to enter a key to register program and check if program is registred in windows registry or something

hope you can help me out or guide me to some tutorials or something to get me started
blackjacker
 
Posts: 2
Joined: Sun Aug 03, 2008 8:08 pm

Postby sendtoanurag on Mon Aug 04, 2008 5:52 am

Goto this page
http://allapi.mentalis.org/apilist/RegOpenKey.shtml

and then at bottom click on Examples ->Registry

Hope it helps.
sendtoanurag
 
Posts: 29
Joined: Tue Mar 18, 2008 2:51 pm

Postby blackjacker on Tue Aug 05, 2008 8:36 pm

hey thanks for the reply, i should probally have noted that im pretty much a Vb nub and am more looking for a tutorial how to make a Serial key registration check for a program to check if the user has a valid key
i could make a bunch of if x = 12345 then
but i prefer something random like a real key etc windows cdkey

i hope there is somebody out there able to help me out :)
blackjacker
 
Posts: 2
Joined: Sun Aug 03, 2008 8:08 pm

Postby mmkhetan on Sun Aug 24, 2008 6:44 am

Here is the function to generate microsoft styel password using uppercase letters and numbers

Private Function PassWord()
st = ""
For i = 1 To 4: For j = 1 To 5
xt = Int(Rnd(5) * 36): If xt > 9 Then xt = xt + 7
st = st + Chr$(48 + xt)
Next: st = st + "-": Next
PassWord = Left$(st, Len(st) - 1)
End Function
mmkhetan
 
Posts: 4
Joined: Sun Aug 17, 2008 12:40 pm
Location: Hyderabad, INDIA


Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests

cron