We help IT Professionals succeed at work.
Get Started

Visual Basic Combo Boxes... using text file..

454 Views
Last Modified: 2012-06-21
Hello experts please help...

Ill explain how it works first

Listbox1 has complete list of products

product 1
product 2
product 3


when i press add selected item will be shown in listbox2 (example i want product 2)

listbox2

product 2


after pressing button "Purchase" the program will do all calculations based on products that are in listbox2

The program then displays a message box telling me details of the customer, items from listbox2, their price, any discount, etc.

When i press Ok in messagebox the program will then use what is written in message box and display it in another textbox in another form that i can save or print as a receipt.

My problem is that i can't seem to pick up listbox2 items to display in message box or the textbox on another form.

Do you know how to properly tag listbox items and dispay them in message box?

by the way i am using visual studio 2008
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE