Open the Sweets Solution (Sweets Solution.sln) file contained in the ClearlyVB2012 Chap26Sweets Solution folder. If necessary, open the designer window.

a. Add a new class file named Salesperson.vb to the project. The Salesperson class should have two attributes: a salesperson’s ID and a sales amount. The ID may contain any combination of numbers and letters. The sales amount may contain a decimal place. The class should have one behavior: the default constructor. Code the Salesperson class. Save the solution and then close the Salesperson.vb window.

b. Open the form’s Code Editor window. The btnSave_Click procedure should save each salesperson’s ID and sales amount in a sequential access file. Finish coding the procedure.

c. Save the solution and then start and test the application. Be sure to verify that the sales.txt file contains the IDs and sales amounts that you entered. Close the Code Editor window and then close the solution.

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!