heres the code:
private Sub Form_Load()
Label1.Caption = Int(Rnd * 10)
End Sub
Why is it that everytime that you load that load, label1 always = 7 or the same number, I want to randomly generate numbers!!
http://visualblind.tsx.org
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Thread: Random NumbersThreaded View
|
Click Here to Expand Forum to Full Width |