In this exercise, you complete the application from Lesson Bs Exercise 4. Open the VB2015Chap02Age SolutionAge Solution

Question:

In this exercise, you complete the application from Lesson B’s Exercise 4. Open the VB2015\Chap02\Age Solution\Age Solution (Age Solution.sln) file. The Calculate button should calculate your age by subtracting your birth year from the current year. Code the Calculate button using the Val function. Add a print form control to the application. The control should send the printout to the Print preview window. Code the Print button so that it prints the interface with the buttons. Add appropriate comments in the General Declarations section and in the coded procedures. Save the solution and then start the application. Test the application using your birth year and the current year. Also test it without entering any data. Finally, test it using a dollar sign ($) for the birth year and a percent sign (%) for the current year.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: