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
Include an appropriate and meaningful project name in the title bar of the form.
Add a Status Bar to the form that contains:
a the current date
b your name as the programmer.
Add the controls described in the Project Goal.
Write code to add at least Bagel types at runtime when the program starts.
Write code to keep the Bagel list sorted in alphabetical order.
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.
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.
Display an error message if the user clicks on Remove Bagel Type without first selecting a bagel
type from the list.
Before Clearing the list, display a message box to confirm the operation.
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
