I am a VB beginner. I am working on a small project for kids to improve math basic skills ( subtraction, division …etc). I would appreciate it if any one could help on these questions:
FIRST:
I am writing this code

FirstNumber = Int((1 * Rnd) + 1)
lblFirstNumber.Caption = FirstNumber

SecondNumber = Int((1 * Rnd) + 1)
lblSecondNumber.Caption = SecondNumber

bothNumbers= FirstNumber + SecondNumber


How can I write a code so that FirstNumber OR SecondNumber to be restricted to interval (e.g. >=1 but <5)

SECOND:
How can I write the code so that bothNumbers would be ONLY positive ( e.g. >= 1) in case of Subtraction or Division.
Third:
How Can I add MDI file as music background that would keep looping till FORM Unloaded

FOUR: What code can I write to ADJUST the Volume of such Music?
Thank you

Mike
[email protected]