Thread Rating:
  • 2 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TuT]How to create a keygenerator in VB.NET [TuT]
#1
Hi everyone.

Today, I will be showing you how to make a good-looking keygenerator in VB.NET.

Q. What is a keygenerator?

A. A keygenerator, (or sometimes shortened as keygen)

is a program or tool that generates a keygen. Although some keygens are fake and are binded with malware using a binder, some do actually work.

I'll be showing you how to make a fake one, I'll be showing you step by step what to do.

1. Open up a new VB.NET project.
You'll see a blank square. That's called the form.

On your left, is a big box of tools, which is known as the Toolbox.

It includes many tools, such as buttons, textboxes, labels, etc;

Let's say today we are going to make a Win7 Pin generator.




Onto your form, drag a button, a textbox, and 2 labels.

Right-click on your button. And choose properties, in properties, where it says text put in Generate.

(keep in mind we are generating fake keys)

Now, go to properties for label1, and in text, put Key : and put it right on top of textbox1.

It will notify the user that what comes out of the textbox is our key.

For properties of textbox, put ReadOnly to true.

What does that mean?

That means that what comes out of the textbox will not be editable, hence you can only read it, 'ReadOnly.'

For properties of label2, in text, put nothing at all, so it should be invisible to the naked eye.

Now, double-click on your button.

You will see about 4 lines of code, which mean that when button is clicked on, this function will occur, but we have no function, so when our button is clicked on, nothing happens.

Now, put in this code :
Code:
TextBox1.Text = Int(Rnd() * 4)
Select Case TextBox1.Text
Case 0
TextBox1.Text = "Random key1"
Case 1
TextBox1.Text = "Random key2"
Case 2
TextBox1.Text = "Random key3"
Case 3
TextBox1.Text = "Random key4"
End Select
'number of cases you have, the more keys you will have
'which means the more releastic and appealing it will look to user
'you can add more cases if you like

All that means that when button is clicked on, we will generate one out of four of any of those codes right into the textbox, and each one is different, so that means it will look more realistic.


Now, that's it! It now works. It generates keys. Now, we want the program to look nice and appealing, we need to add a icon, name, and backround image to the program.

For our tutorial, it is a Win7 pin generator, so name it that. (by going to form-properties-text)

You can add a icon by going to properties and going to icon, and browsing for a icon that relates to Windows 7.

You can add a backround image if you like, such as this one :

http://www.gandex.ru/upl/oboi/u2090_8297...na-wp2.jpg

Hope I have helped some people on this forum!

Bye,

Beck
Reply
#2
Thanks, but this doesn't really generate keys, it chooses randomly between you've created.
Reply
#3
(04-05-2010, 12:00 PM)Pi[X]el Wrote: Thanks, but this doesn't really generate keys, it chooses randomly between you've created.

Yeah, Thank you but I am not sure it will really work but still good guide man.
Reply
#4
Great tutorial there, I might use this in the future.
Reply
#5
Not bad. It could be improved and commented, but apart from that, I really like it.
Reply
#6
(04-05-2010, 12:47 PM)Drake™ Wrote: Not bad. It could be improved and commented, but apart from that, I really like it.


Thanks Drake!
Reply
#7
Seen this on YT the other day while browsing some new programs to learn to make.


You should make a full explanation video so people aren't just copy and pasting your source.
Site Owner: http://www.awesomelounge.com

Feel free to join. It's full of greatness.


[Image: s1ckl3r2.png]
Reply
#8
This isn't really classified as a keygen.

A keygen can generate thousands of keys. This only generates the numbers you put in.
Reply
#9
Great tutorial. Pictures would be nice too, although it's not essential. Nonetheless, nice work.
Aut viam inveniam aut faciam.

Reply
#10
(04-05-2010, 06:47 PM)«Ðartz™» Wrote: This isn't really classified as a keygen.

A keygen can generate thousands of keys. This only generates the numbers you put in.

True. But the more you put in, the better and more convincing the keygen will be.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to hook the keyboard. [VB.NET] [TuT] Vorfin 92 61,929 09-23-2019, 11:55 AM
Last Post: Jamimartin
  [TUT]Creating Advanced Web Browser with Awesome Theme Imaking31 0 1,320 05-25-2013, 03:12 AM
Last Post: Imaking31
  VB.NET Port Scanner [TUT] Fragma 30 14,738 11-27-2012, 11:26 PM
Last Post: ƃu∀ ıʞƃu∀
  [TUT] MD5 Encrypter & Finder [VB.NET] Fragma 12 7,946 11-25-2012, 10:36 PM
Last Post: ƃu∀ ıʞƃu∀
  [TUT] How to make a simple WebBrowser in VB 2010! [TUT] - [ Pictures] Statics 95 63,174 10-07-2012, 06:56 AM
Last Post: a99

Forum Jump:


Users browsing this thread: 20 Guest(s)