I'm trying to make a really simple calculator, which looks like this:



The user should enter values in the three big textboxes, and between those enter either +, -, x or /. Pressing the button should calculate the answer. Now here's the question, how do i make it take what's in the smaller textboxes and use it in the code? Hard to explain, but let me show you how i was thinking.

Instead of this: richtextbox1.text = val(textbox1.text) * val(textbox1.text) I want to replace the * with what's in the small textboxes, kinda like this: richtextbox1.text = val(textbox1.text) (richtextbox1.text) val(textbox2.text)

thanks in advance