How do I mutiply and add with textboxes?

I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!!

I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!!

Thank you so much in advance!!

I need to multiply the number of times the button was clicked by the price which is in my resources.

Just make sure to convert the value in your text box to a numeric datatype using a conversion function. Since you are calculating prices, you might consider the CCur conversion function. Look in the VB help file for details on how to use it.

You might have to test the value in your textbox first to make sure it is a number, using the IsNumeric function. Again, details are available in the VB help file.

I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!!

Thank you so much in advance!!

Thanks for that it helps a lot, but I'm a newbie and don't know anything about coding so could you guide me in the right direction of what the coding should be.

The Number of times clicked is "numberofcofee"
and the price is "My.Resources.cokeprice"
(The quotation marks is not apart of the code)

I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!!

I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!!

Thank you so much in advance!!

I though I had it this time, but when I press the button it ads two for some reason. Numberofcoke, numberofcoffee and numberofwater are how many times I press each button.

P.S. If you haven't already figured it out, this is a restaurant POS software.