This is the first time i'm using VB and was wondering how i can randomly generate numbers from 1-5. is it just:

dim x as integer=Rnd(4)+1

??

also, do i import anything for the Rnd method to work? Or create some sort of function?