I am currently working on a VB form for a college assignment. I am trying to add quantities from a ListBox and then display the result in a TextBox for a pizza delivery order by using a button. So far, the Listbox shows:
Total pizza price
The Total pizza price is the value that I want to add together and then show in a TextBox as an Order Price.
This is my form and Code for the button:
The code is a work in progress and as you can see it has only added together the last pizza price with itself. I need to make it add each "Total_pizza_price" that appears in the list instead of only the last item.
Answers and solutions will be much appreciated,