Quantcast
Channel: Random numbers
Browsing all 3 articles
Browse latest View live

Random numbers

Hi,try:Dim randomNumber AsInteger= New Random().Next()orDim randomizer As Random = New Random()Dim randomNumber AsInteger = randomizer.Next(1, 100)Andrej

View Article



Random numbers

Simply generate a random value with the Random class and then store the return of a call to Next() in your variable ala:      Dim x as Integer      Dim rand as New Random      x = rand.Next(5, 10)In...

View Article

Random numbers

What code do I need to include in my Visual Basic 2005 project if I want to store random numbers to variables?

View Article
Browsing all 3 articles
Browse latest View live




Latest Images