Hello Guys, Today I have posted an awesome tutorial on How to create your own Keygen in Visual Basic with simple programming language, I hope you will like it.
Keygen is an EXE program, that have a collection of PRODUCT KEYS, and SERIAL KEYS of various Software and Trial Version Programs.
# What is VB 6.0 (Visual Basic) ?
Visual Basic is a Software to create and develop software on basis of VB Programming language. VB is mostly use for simple programs to design and create EXE application.
# How to create a Keygen in VB ?
So, guys here is our main and important topic, just follow the below steps Carefully and understand the coding little bit, That's it.
# Requirements :-
- Visual Basic 6.0 (Download only 6 MB) (Skip ad's after 5 seconds)
- Windows 7, XP or Vista
- Little bit Software Controlling Knowledge
- Brain
# Follow this Steps to create a Keygen :-
- Download and Start VB and the installation method is little bit different so please read "Read me" file in downloaded folder and install it.
- Start VB and select "Standard EXE" and open it.
" This is the start Screen of VB Click on Image to Enlarge it " - Click on "Text Box" Draw one Text Box on Program form field, as shown in the Image >>
"Click on Images to Enlarge it "
- After Drawing a text box, Edit it with your Choices with the help of Editing Box tools, give it a Unique portion and Good looking program. as i had designed mine Keygen.
- So, here it's time to give a command box, do same here select"Command Button" and draw it on Program field as i have shown in below image >>
- Edit Caption and Change font in Editing Box to have a Good looking Program.
- Now double click on "Commond1" button, the button you had just created it now, Double Click on it and this window will pop up as shown in the below Image >>
"Click on Image to Enlarge it " - Now it's time for little bit Coding, Creating a Keygen is very very simple we just need two lines code to create a Keygen, and copy paste it to create more keys.
- So, here copy and paste below code in "Project1 Form1 (Code)" as shown in the below image, look carefully and and understand the Coding >>>>
"Click on Image to Enlarge it "
_____________________________________________
Dim Key As IntegerKey = Int(Rnd() * 3)Select Case KeyCase 0Text1.text = "your key"Case 1Text1.text = "your other key"Case 2Text1.text = "your other other key"End Select_____________________________________________ - Increase Case value if you want yo add more keys and also increase the value of "Key =Int(Rnd() * 3" , you have to equalize same value of Case and Int(Rnd() *3.
- Replace "your other key" with your Key or any Character, Value or any number you want.
- After all close coding window and hit "F5"and your program will start like this as shown in the Image >>>>>>>>>>
- And Now Click on Generate Keys and you will get various types of you had added in it.
- Now, go to "File" > Click on Make Form1.exe and save it as EXE file on Desktop and here is your Keygen is ready.