You are not generating a random number in the right way. Remove your Randomize and Rnd statements and do the following:
vb Code:
Dim rnd As New Random() Dim randomNumber as Integer = rnd.Next()
By the way, does your random number need to be between a certain range?




Reply With Quote