How to store a value depending upon ComboBox value - Visual Basic 2012

  • Thread starter Thread starter jtbryant1
  • Start date Start date
J

jtbryant1

Guest
So I can't seem to find the right way to store the value of a ComboBox depending upon what is selected. The overall program will store it and use it as a part of a calculation.

I'm thinking an If Then would work if I can just store the value properly.

If they choose Fish it's $10, Chicken 12.50, Steak 15. I need to store those values from the ComboBox, and set it up to pop a message box for them to please choose one if they don't.

ComboBox.SelectedValue doesn't seem to work?

Continue reading...
 
Back
Top