i already did the calculator but theres 2 text box for the addition and another 2 for the sub etc. whats the code so that i only need one text box and whatever you write there it solves it (ex. 2 *2 or 2-2).
You just need to add a third component to tell the code what to do with the values in the two text boxes.
Look at Microsofts calculator. It uses command buttons. One for +, one for - etc. And they only use one text box. I assume they hold there values in either variables and/or arrays then display back the results.
you can do the same thing.