[VB.NET]Lucky Seven Game.
First, you want to place the following on your new form

Once you have done that you want to double click the "Spin" button. Now, for the coding of the spin button you want to type
This makes it generate a random integer and make it times itself by 10. And the int part removes the decimals that the number has in the end when it is generated and the cstr(convert to string) converts it into text and puts it in your label1-3 text boxes.
Now, what you want to do is double click the "end" button this code is very simple.
The end code means for it to end the application/forum.
Now, save your project and your finished.
- 2 buttons
- 4 labels
So, first you want to rename the following buttons and labels.
- Rename button1 to "Spin"
- Rename button2 to "End"
- Rename label1-3 to "0"
- Label 4 to "Lucky Seven"
Now, your forum or application will look like mine:

Once you have done that you want to double click the "Spin" button. Now, for the coding of the spin button you want to type
Label1.Text = CStr(Int(Rnd() * 10))
Label2.Text = CStr(Int(Rnd() * 10))
Label3.Text = CStr(Int(Rnd() * 10))This makes it generate a random integer and make it times itself by 10. And the int part removes the decimals that the number has in the end when it is generated and the cstr(convert to string) converts it into text and puts it in your label1-3 text boxes.
Now, what you want to do is double click the "end" button this code is very simple.
EndThe end code means for it to end the application/forum.
Now, save your project and your finished.