22.05.2017 Views

BIS 311 DeVry Week 2 I Lab

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/<strong>BIS</strong><strong>311</strong>_W2_i<strong>Lab</strong>.html#top">Back to Top<br />

(a) Pull down the File menu and select New Project . . . .<br />

(b) In the New Project dialog, ensure that in the left column, under Templates, Visual Basic is selected; and that in the<br />

center column, Windows Form Application is selected. In the Name field at the bottom of the dialog, enter<br />

PaymentCalculator. Click OK.<br />

(c) A project with a blank form should be displayed, as shown below.<br />

STEP 3: Rename Form<br />

.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/<strong>BIS</strong><strong>311</strong>_W2_i<strong>Lab</strong>.html#top">Back to Top<br />

(a) In the Solution Explorer pane on the right side of the screen, right-click on Form1.vb, select Rename, and change<br />

the name to PaymentCalculator.vb. Press Enter after entering the new form name.<br />

(b) Click on the form in the center Design pane to select it. In the Properties pane at the bottom right of the screen,<br />

change the Text property of the form to <strong>Lab</strong> 2 Your Name where Your Name = your full name. Remember, you may<br />

need to scroll in the Properties pane to find the Text property.<br />

STEP 4: Add Controls to Form<br />

.equella.ecollege.com/file/bfe9e5e5-c91c-450f-a8b4-b45a9d02faa3/40/<strong>BIS</strong><strong>311</strong>_W2_i<strong>Lab</strong>.html#top">Back to Top<br />

(a) Check that the Toolbox is displayed at the left side of the screen. If it is not, click the Toolbox tab at the center left<br />

edge of the screen to expand the Toolbox, and click the pushpin symbol at the right side of the Toolbox title bar to pin<br />

it open.<br />

(b) If necessary, click the Common Controls heading in the Toolbox to expand it. Drag four <strong>Lab</strong>el controls, three TextBox<br />

controls, and one Button control from the Common Controls area of the Toolbox onto the form, and arrange them on<br />

the form as shown below.<br />

(c) If you received an error message, or if your application did not work correctly, apply the methods for finding and<br />

fixing programming errors described in the reading assignment to debug your application. Post in the Q & A Forum or<br />

contact your professor for assistance if needed.<br />

(d) When your application runs and works correctly, capture a screenshot of the form showing the input and output<br />

values given above. Remember, use Ctrl+Alt+PrintScreen to capture a screenshot. Paste your screenshot image into<br />

a Word document. Select and copy your code for the button-click event and also paste this into the Word document.<br />

Save the Word document as <strong>Lab</strong>2YourFirstLastName.docx (where YourFirstLastName = your first and last name; e.g.,<br />

JohnSmith) and submit it to the appropriate Dropbox

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!