In VB6, I used to generate random numbers using the following code:
Dim nRandomNum As Integer
nRandomNum = Math.Rnd
I see in VB 2005 there is now a RandomNumberGenerator class. Should I be using this rather? And if so, can someone show me a simple example of how to use it?