where do you go to school?
first of all your random isn't that good its vb style and not vb.net style!
dim RandomGetal as new random
intGetal1 = RandomGetal.next(1,42)
for the numbers you can work with an array but I think you don't work with them yet
for security you can use a nested if or a select case or a do-loop!
I'll explain do loop
intGetal1 = randomGetal.next(1,42)
do
intGetal2 = randomGetal.next(1,42)
loop until intGetal2 = Not intGetal1
do
intGetal3 = randomGetal.next(1,42)
loop until intGetal3 = Not intGetal1 and intGetal3 = Not intGetal2
do
intGetal4 = randomGetal.next(1,42)
loop until intGetal4 = Not intGetal1 and intGetal4 = Not intGetal2 and intGetal4 = Not intGetal3
......
if you need to ask some more about anything else in vb.net just ask