I need to create a " Calculator" in VB and we cannot go into negative numbers for subtraction. So i need to have highest number first then lowest number 2nd. I have created a bit of code but it doesnt work to the best. I was wondering if you could help me and well, correct it for me.

Some of the ovious stuff is their right, just figured id insert the general code so you get idea of what ive done. Thx

Thx

Code:
Randomize
num1 = Int(Rnd * 10) + 1

num2 = Int(Rnd * 10) + 1
        
LblNum1 = num1
LblNum2 = num2

If LblNum1 > LblNum2 Then
LblNum1 = num1
LblNum2 = num2
Else
LblNum1 = num2
LblNum2 = num1


End If