Question: In this exercise, you complete the application from Lesson Bs Exercise 4. Open the VB2015Chap02Age SolutionAge Solution (Age Solution.sln) file. The Calculate button should calculate
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.
Step by Step Solution
3.47 Rating (170 Votes )
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 2012 ProjectF184B08FC81C45F6A57F5ABD9991F28F Age Project Age ProjectAge Projectvbproj 53A9444F5D5C46D7986577B6C438B1ED EndProjec... View full answer
Get step-by-step solutions from verified subject matter experts
