Question: Create a Windows Forms application. Use the following names for the project and solution, respectively: Potter Project and Potter Solution. Save the application in the

Create a Windows Forms application. Use the following names for the project and solution, respectively: Potter Project and Potter Solution. Save the application in the VB2017\Chap09 folder.
a. The application will display the names of students who have earned the grade selected in a list box. The student names and grades are stored in the NamesAndGrades.txt file. Copy the file from the VB2017\Chap09 folder to the Potter Project’s bin\Debug folder. Now, open the NamesAndGrades.txt file. The file contains 15 names and 15 grades. Close the NamesAndGrades.txt window. 

b. Create the interface shown in Figure 9-37. Use the String Collection Editor to enter the five grades in the lstGrades control. Change the lstNames control’s SelectionMode and Sorted properties to None and True, respectively. 

c. Code the Exit button’s Click event procedure. 

d. The first item in the lstGrades control should be selected when the interface appears. Code the appropriate procedure.
e. The contents of the lstNames and lblNumber controls should be cleared when a different grade is selected in the lstGrades control. Code the appropriate procedure.
f. The Display button should display the names of students who have earned the grade selected in the lstGrades control. It should also display the number of students who have earned that grade. Code the appropriate procedure.

g. Save the solution and then start and test the application.

Create a Windows Forms application. Use the following names for the project

Step by Step Solution

3.39 Rating (146 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 15 VisualStudioVer... View full answer

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 Microsoft Visual Basic Questions!