Question: 19. Open the Debug Solution (Debug Solution.sln) file contained in the VB2012Chap03 Debug Solution-Lesson A folder. The application is supposed to display the number of
19. Open the Debug Solution (Debug Solution.sln) file contained in the VB2012\Chap03\
Debug Solution-Lesson A folder. The application is supposed to display the number of times the Count button is pressed, but it is not working correctly.
a. Start the application. Click the Count button. The message indicates that you have pressed the Count button once, which is correct. Click the Count button several more times. The message still displays the number 1. Click the Exit button.
b. Open the Code Editor window and study the code. What are two ways that you can use to correct the code? Which way is the preferred way? Modify the code using the preferred way. Save the solution and then start the application. Click the Count button several times. Each time you click the Count button, the message should change to indicate the number of times the button was pressed.
c. Click the Exit button. Close the Code Editor window and then close the solution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
