VB 2010 | Create Simple Keygen
Posted: Sat Jan 09, 2010 9:28 pm
Hello, welcome to this simple tutorial! On createing a basic keygen!
In this example I will be using two products from Adobe!
Form1 Properties:
Size = 541 x 197 (Height 541 & Width 197, X & Y)
AutoSizeMode = GrowAndShrink
FormBorderStyle = FixedDialog
ShowIcon = False
Maximize Box = False
Minimize Box = False
Form 1:
Label x2
Button x2
Combobox x1
Textbox x1
Label1 = "<Your Keygen Title>"
Label2 = "By <Your Name>"
Button 1 = "Generate"
Button2 = "Close"
Combobox1 = ""
Textbox1 = ""
Lets get started!
Step 1:
Dim "" As Integer:
The "Dim Key As Integer" Dims as Integer, so you will put "Key = (Rnd()* 6)"
If you change it to "Dim Code As Integer", you will put "Code = (Rnd()* 6)"
(Rnd()* 6):
Putting, "(Rnd()* 6)" = 6 Case codes
It will select cases randomly!
Copy (CTRL + C) & Paste (CTRL + V) This Code Into VB:
YouTube - http://www.YouTube.com/user/iFunnyTutorials
E-mail - iFunnyTutorials@Live.co.uk
- Best Regards!
Thanks For Watching! wahooo;
Finished Project:
http://i982.photobucket.com/albums/ae30 ... tled-1.png
In this example I will be using two products from Adobe!
Form1 Properties:
Size = 541 x 197 (Height 541 & Width 197, X & Y)
AutoSizeMode = GrowAndShrink
FormBorderStyle = FixedDialog
ShowIcon = False
Maximize Box = False
Minimize Box = False
Form 1:
Label x2
Button x2
Combobox x1
Textbox x1
Label1 = "<Your Keygen Title>"
Label2 = "By <Your Name>"
Button 1 = "Generate"
Button2 = "Close"
Combobox1 = ""
Textbox1 = ""
Lets get started!
Step 1:
Dim "" As Integer:
The "Dim Key As Integer" Dims as Integer, so you will put "Key = (Rnd()* 6)"
If you change it to "Dim Code As Integer", you will put "Code = (Rnd()* 6)"
(Rnd()* 6):
Putting, "(Rnd()* 6)" = 6 Case codes
It will select cases randomly!
Copy (CTRL + C) & Paste (CTRL + V) This Code Into VB:
Code: Select all
If this doesn't work PM me at;Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.Text = "Adobe After Effects CS4" Then
Dim Key As Integer
Key = (Rnd() * 6)
Select Case Key
Case 1
TextBox1.Text = "1023-1053-1662-2707-1499-3356"
Case 2
TextBox1.Text = "1023-1672-4335-3452-3435-4566"
Case 3
TextBox1.Text = "1023-1456-4882-1402-0622-9810"
Case 4
TextBox1.Text = "1023-1442-6540-8395-2803-7828"
Case 5
TextBox1.Text = "1023-1053-1662-2707-1499-3356"
Case 6
TextBox1.Text = "1325-1467-2240-9808-3928-9497"
End Select
End If
If ComboBox1.Text = "Adobe Dreamweaver CS4" Then
Dim Key As Integer
Key = (Rnd() * 6)
Select Case Key
Case 1
TextBox1.Text = "1023-1053-1662-2707-1499-3356"
Case 2
TextBox1.Text = "1023-1672-4335-3452-3435-4566"
Case 3
TextBox1.Text = "1023-1456-4882-1402-0622-9810"
Case 4
TextBox1.Text = "1023-1442-6540-8395-2803-7828"
Case 5
TextBox1.Text = "1023-1053-1662-2707-1499-3356"
Case 6
TextBox1.Text = "1325-1467-2240-9808-3928-9497"
End Select
End If
End Sub
End Class
YouTube - http://www.YouTube.com/user/iFunnyTutorials
E-mail - iFunnyTutorials@Live.co.uk
- Best Regards!
Thanks For Watching! wahooo;
Finished Project:
http://i982.photobucket.com/albums/ae30 ... tled-1.png