Question: In this exercise, you modify the Sales application from Exercise 14 in Chapter 3. Use Windows to copy the Sales Solution folder from the VB2017Chap03

In this exercise, you modify the Sales application from Exercise 14 in Chapter 3. Use Windows to copy the Sales Solution folder from the VB2017\Chap03 folder to the VB2017\Chap04 folder. Open the Sales Solution.sln file contained in the VB2017\Chap04\Sales Solution folder. Start the application and then click the Calculate button. The percentages display as NaN, which stands for Not a Number. The NaN message is a result of dividing a number by 0. Use a selection structure to display 0.0% rather than NaN as the percentages. Save the solution and then start and test the application. Now professionalize the interface by allowing the text boxes to accept only numbers, the period, and the Backspace key. Save the solution and then start and test the application.

Step by Step Solution

3.43 Rating (166 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 VisualStudioVe... 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!