In this exercise, you modify the application from Exercise 11. Use Windows to make a copy of
Question:
In this exercise, you modify the application from Exercise 11. Use Windows to make a copy of the PAO Solution folder. Rename the folder Modified PAO Solution. Open the PAO Solution (PAO Solution.sln) file contained in the Modified PAO Solution folder. Modify the code to use a structure in the Display Totals button’s Click event procedure. Test the application appropriately.
Data From Exercise 11:
Create an application, using the following names for the solution and project, respectively: PAO Solution and PAO Project. Save the application in the VB2015\ Chap10 folder. Create the interface shown in Figure 10-34. The Party list box should contain three items: Democratic, Republican, and Independent. The Age text box should accept only numbers and the Backspace key. The minimum age for a respondent is 18. The Write to File button should save each respondent’s information (political party and age) to a sequential access file. Using the information stored in the file, the Display Totals button should display the number of Democrats, Republicans, and Independents by age group and in total. Test the application appropriately.
Step by Step Answer: