Open the Workers Solution.sln file contained in the VB2017Chap09Workers Solution folder. The user will enter a name
Question:
Open the Workers Solution.sln file contained in the VB2017\Chap09\Workers Solution folder. The user will enter a name in the txtName control and then click the Add to list button, which should add the name to the lstWorkers control. When the user is finished entering names, the frmMain_FormClosing procedure should write the contents of the list box to a new sequential access file named workers.txt. Code the procedure. Save the solution and then start the application. Test the application by entering the following two names: Henry Kaplan and Mario Brown. Stop the application and verify that the workers.txt file contains both names. Now, start the application and enter the following three names: Jose Juarez, Maya Harris, and Savannah Carlisle. Stop the application and verify that the workers.txt file contains only three names.
Step by Step Answer: