Here is something to get you started:
The code to generate a random number is:
Dim RndGenerater as Random
Dim RndNum as integer
'This generates a number from 1 to 10
RndNum = RndGenerater.Next(1,10)
'This generates a number from 0 to 10
RndNum = RndGenerater.Next(10)
'This generates a random number (No bounds)
RndNum = RndGenerater.Next()
If you ask a more specifice question, I can help you with a more specific answer. All you told me is that you want to make a lottery program, so I told you how to do one of the necessary elements in a lottery program : Random Numbers
Relman
: Hi All
:
: Is there anyone out there who knows on how to make a lottery program in VB.Net I dont know how please advise
:
: Thanks
: