Non-Repeating Random Numbers - VB.NET Tutorials | Dream.In.Code
The Random Class should be used in preference to the older (VB6) Randomize and Rnd() approach. Using GoTo is also unnecessary and should be avoided. (Randomize also only needs to be called once, not repeatedly within a loop.) Post #6 demonstrates a better...