Random Numbers Generator Program


The Random Numbers Generator program uses Rnd function to randomly generate values. It is related to chances and probability. When you click the button, it generates values between 0 and 10 and shows in a TextBox control. Each time you hit the button, it gives a different value

             
                                                   >> DOWNLOAD


Screenshot:
Create random numbers


Code:
Private Sub cmdGenerate_Click()
    lblResult.Caption = Int(Rnd * 10) + 1
End Sub