Random Number Generator (Tutorial)
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
1 post
Page 1 of 1
You will need one textbox and one button.
1: make a new project
2: pick windows application
3: add one textbox and one button(place where you wish)
Now click the button and place this code.
-Thanks-
1: make a new project
2: pick windows application
3: add one textbox and one button(place where you wish)
Now click the button and place this code.
Code: Select all
Thats you done, Debug & test your program.Dim rndnumber As Random
Dim number As Integer
rndnumber = New Random
number = rndnumber.Next(1, 1001)
TextBox1.Text = number.ToString
-Thanks-
1 post
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023