gulrast
asked on
Random Numbers in VB
Hi, I have just started learning VB and am trying to make some dice for my friends game. How would I go about making some dice that would roll a 20 sided dice if i click on a button, and the outcome would appear on a label? I am going to make more dice like this, like a 6 sided 12 sided, etc.
Thanks in advance :)
Thanks in advance :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
If Label1.Caption = 0 Then
Label1.Caption = 1
End If
that made it so that it doesn't always keep adding the 1 more number. Thanks again