How to Make a KeyGen
Intro: How to Make a KeyGen
STEP 1: Make a New Proect
Start Visual Basic 2010.
Make a New Windows Form Applications.
Make a New Windows Form Applications.
STEP 2: Make 4 Labels
Make 4 Labels. One that says "64bit Key" and another for "32bit Key."
Make 2 other Labels that say "Key".
Make 2 other Labels that say "Key".
STEP 3: Make 2 Text Boxes and 2 Buttons
Make 2 Text Boxes and 2 Buttons.
Name The Buttons Generate and Keep The Text Boxes Blank.
Name The Buttons Generate and Keep The Text Boxes Blank.
STEP 4: Coding the Buttons
For the Generate Buttons (Buttons 1/2) Put this code in:
TextBox1.Text = Int(Rnd() * 4)
Select Case TextBox1.Text
Case 0
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 1
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 2
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 3
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 4
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 5
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
End Select
TextBox1.Text = Int(Rnd() * 4)
Select Case TextBox1.Text
Case 0
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 1
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 2
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 3
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 4
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
Case 5
TextBox1.Text = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
End Select
STEP 5: Run It and If It Works Your Finished
Run and See if it works Without Error
If So Build and Publish It
If So Build and Publish It
6 Comments
g00dhum0r 2 years ago
Nice layout though.
CuteEwok'sO 9 years ago
I want to make a Keygen Music Keygen, where you hit a button to hear a chiptune.
SeargentA 9 years ago
Download my own KeyGen for all games:
http://www.mediafire.com/download/48aobvzh97ob5hh/KeyGen.zip
zack247 13 years ago
error32 13 years ago
Ether Kalmar 13 years ago
To improve it you need to figure out and include the mathemetic formulas used to generate and verify actual unique keys to call it a keygen.
Obviously, that's rather hard to do without reverse engineering the copy protection systems for the specific application.