[Tutorial] Lottery Winning Program!

Posts 1–8 of 8 · Page 1 of 1
[Tutorial] Lottery Winning Program!
This program just creates 6 random between 0 and 99.

It's very simple and took about 2 minutes to make(In Express Edition).
It does not increase your odds of winning but it sure can help you pick numbers.

Here is the source code:
Code:
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Randomize()
        Label1.Text = Int(Rnd() * 99)
        Label2.Text = Int(Rnd() * 99)
        Label3.Text = Int(Rnd() * 99)
        Label4.Text = Int(Rnd() * 99)
        Label5.Text = Int(Rnd() * 99)
        Label6.Text = Int(Rnd() * 99)
    End Sub
End Class
Just create 6 labels and a button and you can create your own version.
Lottery Program.zipattachment deleted · 36 downloads before removal
i learned dat in kindergarten
u mean childhous ^^.. or house of young ppls...
^^
Quote Originally Posted by k2hater View Post
i learned dat in kindergarten
I said it was very simple...
When someone says very simple it means that it is not something that will be hard. Hence any idiot can do it.

Also, how do you program when you can't even spell "that" right???
Quote Originally Posted by Grim09 View Post
I said it was very simple...
When someone says very simple it means that it is not something that will be hard. Hence any idiot can do it.

Also, how do you program when you can't even spell "that" right???
LOL Dat is very amusing
Oh, cmon, but why did you post that here?? I mean, lol, even i am still nearly noob in programming and already know how to do that since im 11...


EDIT: Maybe ur rightr and really noob people appear and need to learn that...

just in caase that happens, Label11, 12 etc. must be changed to your labels. You create the labels and see what number they r or simply change their name. Obviously, it won't work if you just copy paste...
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us