Also, keep in mind that the first number you provide to Random.Next is inclusive, but the second one is not; so if you want a random number between 1 and 3, you should generate it like this:

vb.net Code:
  1. myRandom.Next(1, 4)