Hello there,

Okay, my school has put me in charge of making a program, for the maths department. So i went out and bought vb6 (as i have been wanting to for a while now). Ive got the GUI and everything, its just i want to know how to do "sums"

As in, there are three text boxes box, going:

TB1 + TB2 = TB3

Now, i need a code or something, which will create a random number in TB1 and TB2. And when the user enters the answer (in TB3), it will display a tick, and "correct" or a cross and "incorrect"

I would like to achieve the above for multiplication, addition, subtraction and division.

Many Thanks

Adam