Introduction: How to Make a Random Number Generator Using Visual Basic 2012

About: Be Excellent To Each Other and Make stuff!!!

hi in this instructable i'm going to show you how to make a random number generator

first open the visual basic program

then drag a button onto the form

and add a text box

next double click on the button

and once you're in the code building page, input this code line:

Dim a as Integer

Dim value As Integer = CInt(Int((10 * Rnd()) + 1))

TextBox1.Clear()

' Initialize the random-number generator.

Randomize()

' Generate random value between 0 and 600.

TextBox1.Text = CInt(Int((10 * Rnd()) + 1))

a = TextBox1.Text

once you input this code you should be able to generate a random number and you can also change to code to make it generate larger numbers

I want to say thank you to all of my followers and i didn't expect to make it this far, and everything i do on here i do for you guys thank you.