1 year ago

BIS 311 DeVry All Week iLab

strFullName =

strFullName = strFirstName + " " + strLastName lblFullName.Text = strFullName After you have entered your code, the code editor window should look as follows. (c) Pull down the File menu and select Save All to save your changes to the project. If a Save Project dialog appears, ensure that the project is being saved to the My DocumentsVisual Studio 2012Projects folder under your DSI number. Click Save. STEP 6: Test, Debug, and Submit">Back to Top (a) Run the application by doing one of the following: click the Start button (green, right-pointing, triangle icon) on the toolbar; pull down the Debug menu and select Start Debugging; or press the F5 key. (b) Your form should appear. Enter your first name in the First name text box and your last name in the Last name text box. Then click the Display Name button. Your first and last name should appear under Full name with a space between them, as shown below. (c) If you received an error message or your application did not work correctly, don't despair; debugging is a natural part of the programming process. Review your code and the naming of your controls carefully, and find and correct the errors. Then try running the application again. If you get stuck, you can post in the Q & A Forum or contact your professor for assistance. (d) When your application runs and works correctly, capture a screenshot of the form with your first and last name entries and correct full name displayed. Note: To capture a screenshot of the current window, press the Ctrl, Alt, and PrintScreen keys simultaneously; this will copy an image of the current window into your copy-and-paste buffer. Next, open a Word document and paste your image into the document. Close the application form by clicking the X in the upper right corner. Now select and copy your Visual Basic code for the button-click event in the code editor, and paste this into the Word document as well. Save the Word document as Lab1YourFirstLastName.docx (where YourFirstLastName = your first and last name, e.g., JohnSmith) and submit it to the appropriate Dropbox. BIS 311 DeVry Week 2 iLab iLAB OVERVIEW Scenario/Summary In this iLab assignment, you will create a Visual Basic application that implements a loan payment calculator, based on the business requirements, TOE chart, and pseudocode shown below. Payment Calculator Business Requirements The application will accept as inputs a loan amount, an annual interest rate, and the number of years for the loan. The application will calculate the monthly payment amount for the loan. As output, the application will display to the user the monthly payment amount formatted as currency with a dollar sign and cents. Payment Calculator TOE Chart Task Object Event Get the following inputs from the user. Loan amount Annual interest rate Number of years txtLoanAmount txtAnnualRate txtYears Perform the following processing. Calculate the monthly payment using the Pmt function btnCalcPayment Click

Display the following output to the user. Monthly payment formatted as currency with $ and cents lblMonthlyPayment Pseudocode for Payment Calculator Application Start Declare numeric variables for Loan amount Annual rate Years of loan Monthly payment Get inputs: Loan amount Annual rate Years of loan Calculate Monthly payment =-PMT(Annual rate /12,Years of loan *12,Loan amount) Display Monthly payment formatted as currency with $ and cents Stop Deliverables Submit a Word document named Lab2YourFirstLastName.docx(where YourFirstLastName = your first and last name; e.g., Lab2JohnSmith.docx) containing the following. Screenshot of the form showing the application running, with correct input and output values displayed in the form Copy of button-click event code Category Points % Description Create and rename form 10 20% Add controls to form 10 20% Set properties (name and 10 20% text) for controls Code button-click event 10 20% A Windows form was created and named PaymentCalculator.vb. The form text property was set to Lab 2 Your Name (where Your Name = your full name). The following controls were added to the form: identifying labels and text boxes for entry of loan amount, annual rate, and years of loan; Calculate Payment button; and label for display of payment amount. Controls are arranged on the form in a logical and visually pleasing layout. Name and text properties of all controls were set appropriately, with no typos or spelling errors. Button-click event code was entered that corresponds to the given pseudocode, with no syntax errors. Test-run successfully application 10 20% The application is shown running successfully with no errors, with valid inputs and correct output displayed in the form. Total 50 100% Required Software