In this tutorial I'll teach you how you can easily make a keygenerator in visual basic 6/2008 /2010.
Start by opening a new windows form project and call it Simple Keygen.
add a new textbox, a label and a button;
Now go to the coding section. You do this by double clicking the button 'Generate' and add the following code:
(the code below is used for the button that says "generate")
Start by opening a new windows form project and call it Simple Keygen.
add a new textbox, a label and a button;
Now go to the coding section. You do this by double clicking the button 'Generate' and add the following code:
(the code below is used for the button that says "generate")
TextBox1.Text = Int(Rnd() * 10) Select Case TextBox1.Text Case 0 TextBox1.Text = "QXMDH-CRYFM-QFR87-HB783-T7RFQ" Case 1 TextBox1.Text = "WPD800-58634-01932-46139" Case 2 TextBox1.Text = "b28e5286-d51b-4d62-b409-bebedoc8a496" Case 3 TextBox1.Text = "WPD800-59533-72932-66575" Case 4 TextBox1.Text = "QXMDH-CRYFM-QFR87-HB783-T7RFQ" Case 5 TextBox1.Text = "BHD34-K6BT7-T6PXP-BXKT4-X3G8D" Case 6 TextBox1.Text = "RRT124-GGF43-JGD36-SSNF3R" Case 7 TextBox1.Text = "G4I727-KBB0LQT-A8712-BX1109" Case 8 TextBox1.Text = "Unable to find key!" Case 9 TextBox1.Text = "WPD800-58634-01932-46139" Case 10 TextBox1.Text = "G47SBA-849JCV-5884HD" End Select |
Now, if you debug your project and click the button it should generate a diffrent code each time you click the button.
Thanks for following this tutorial !
Download the source codes;
Simple Keygen.zip (88,9 kB)