problem with Rnd()
hello everybody ...
i'm facing a small prob using Rnd()
i want 2 generate 15 random integer numbers between the range of "0 to 99" and every number should be added in a list box, i've written the following code on the click event of a button
For A=1 to 15
List1.AddItem CInt(Rnd() * 99)
Next A
but the problem iz that, every time when i run the program and click on the button, it alwayz displays the same numbers, so how can V call them random numbers as they R being repeated evey time, iz there n.e 1 who can solve my problem
i'll w8 4 a good reply
|