Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

how to code this by filling the grades/ names using a sequential access file? like IO.File... to access a file in the debug folder to

how to code this by filling the grades/ names using a sequential access file? like IO.File... to access a file in the debug folder to display the answer in the interface shown.

This is needs to be coded in Visual basic!

image text in transcribedimage text in transcribed

5. Open the Professor Juarez Solution.sln file contained in the VB20171Chap08 Professor Juarez Solution folder. Open the Code Editor window and locate the btnDisplay_Click procedure. The procedure declares and initializes two parallel one-dimensional arrays named strNames and strGrades. Code the procedure to display the names of students who have earned the grade selected in the IstGrades control. It should also display the number of students who have earned that grade. a. b. The first item in the lstGrades control should be selected when the interface appears. c. The contents of the IstNames and IblNumber controls should be cleared when a d. Save the solution and then start and test the application. Code the appropriate procedure. different grade is selected in the IstGrades control. Code the appropriate procedure. 4. Create a Windows Forms application. Use the following names for the project and solution, respectively: Potter Proiect and Potter Solution. Save the application in the VB2017\Chap09 folder 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 a. T he amesAndGrades.txt file. Copy the file from the VB20171Chap09 folder to th Potter Project's bin Debug folder. Now, open the NamesAndGrades.txt fle contains 15 names and 15 grades. Close the NamesAndGrades.txt window. Create the interface shown in Figure 9-37. Use the String Collection Editor to file. The file b. er the five grades in the IstGrades control. Change the IstNames control's SelectionMode and Sorted properties to None and True, respectively c. Code the Exit button's Click event procedure. The first item in the lstGrades control should be selected when the interface appea Code the appropriate procedure. The contents of the lst Names and IblNumber controls should be cleared when a different grade is selected in the IstGrades control. Code the appropriate procedure Th d. e. e Display button should display the names of students who have earned the grad selected in the IstGrades control. It should also display the number of students wh have earned that grade. Code the appropriate procedure. Save the solution and then start and test the application. f. g. Potter Jr High Number of students: Grade Students blNumber IstNames IstGrades btnDisplay Display Exit Figure 9-37 Interface for Exercise 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions