Question: Visual Basic - Iteration, MessageBox result, List Controls Project Goal - Create a Visual Basic project that allows the user to select a bagel type

Visual Basic - Iteration, MessageBox result, List Controls
Project Goal - Create a Visual Basic project that allows the user to select a bagel type from a dropdown combo box. The project should have buttons to Add Bagel Type, Remove Bagel Type, Clear Bagel List, Display Bagel Count, and Exit.
Interface and Code
2. Include an appropriate and meaningful project name in the title bar of the form.
3. Add a Status Bar to the form that contains:
a. the current date
b. your name as the programmer.
4. Add the controls described in the Project Goal.
5. Write code to add at least 4 Bagel types at runtime when the program starts.
6. Write code to keep the Bagel list sorted in alphabetical order.
7. For Add Bagel Type:
a. write code that uses the bagel type entered in the combo box
b. add the bagel type to the list
c. include code that validates the users input
d. ensure the user cannot enter a blank bagel type.
8. Write a loop that will:
a. prevent the user from adding duplicate bagel types
b. the check for duplicates should be case insensitive (Garlic = GARLIC = garlic)
c. Do not use the Contains method.
9. Display an error message if the user clicks on Remove Bagel Type without first selecting a bagel
type from the list.
10. Before Clearing the list, display a message box to confirm the operation.
11. Display the number of Bagels in the list in a label on the form.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!