Question: Murach's visual basic 2015 and visual studio Need all screenshots and code, as well as and exe file Exercise 6-2 Enhance the Future Value application

Murach's visual basic 2015 and visual studio

Need all screenshots and code, as well as and exe file

Exercise 6-2 Enhance the Future Value application

In this exercise, youll experiment with and enhance the Future Value application that was presented in this chapter.

Experiment with the FutureValue procedure

1. Open the application thats in the C:\VB 2015\Chapter 06\FutureValue directory. This is the book application thats presented in figure 6-11. Start by testing this application.

2. Comment out the Return statement in the FutureValue function, and test the application again to see that the function still works.

3. Instead of using FutureValue within the For loop in the function, declare and use a variable named newFutureValue. Then, use the Return statement to return the value in that variable. Now, test this to make sure it works.

Code an event handler for a form event

4. Use the drop-down lists at the top of the Code Editor to start an event handler for the DoubleClick event of the form. Next, change the name of the event handler to ClearAllBoxes, and write the code for this handler so it sets the Text property for all four text boxes to an empty string. Then, test the application to make sure this works. (Be sure to double-click on the form, not on the forms title bar, because that will maximize the form.)

Code event handlers for other control events

5. In the Form Designer, select the Future Value text box. Next, select the MouseHover event, read its description, drop down its list, and select the ClearAllBoxes event handler so it will be executed whenever the user lets the mouse hover over this text box. Then, test the application to make sure this works.

6. In the Form Designer, select the Yearly Interest Rate text box, and double-click on the DoubleClick event to generate its event handler. Next, write the code for this handler so it sets the value in the Yearly Interest Rate text box to 12. Then, test this enhancement.

7. Use your own imagination to work with other events. When youre through experimenting with events, close the application

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!