What email address or phone number would you like to use to sign in to Docs.com?
If you already have an account that you use with Office or other Microsoft services, enter it here.
Or sign in with:
Signing in allows you to download and like content, and it provides the authors analytical data about your interactions with their content.
Embed code for: BIS 311 DeVry Week 1 I Lab
Select a size
BIS 311 DeVry Week 1 I Lab
Downloading is very simple, you can download this Course here: http://wiseamerican.us/product/bis-311-devry-week-1-ilab/
Contact us at: SUPPORT@WISEAMERICAN.US
BIS 311 DeVry Week 1 iLab
In this iLab, you will create a Visual Basic application that meets the following business requirements.
Name Combiner Business Requirements
The application will allow the user to input a person's first name a
Downloading is very simple, you can download this Course here:
Contact us at:
The application will allow the user to input a person's first name and last name. When the user clicks the Display Name button, the application will combine the first name, a space, and the last name into the person's full name, and then display the full name to the user.
The tasks, objects, events (TOE) chart for this application will be as follows.
Get the following inputs from the user:
Perform the following processing:
Form full name by combining first name, a space, and last name
Display the following output to the user:
Submit a single Word document named Lab1YourFirstLastName.docx (where YourFirstLastName = your first and last name; e.g., JohnSmith) containing the following.
Screenshot of Windows form showing successful operation of the application
Copy of the application's button-click event code
Create form, rename it, and set its text property
The form is named NameCombiner.vb and has text property set to Lab1 - Your Name where Your Name = your full name (e.g., John Smith).
Add label and text box for first name, setting name, and text properties for each
The label text property is set to First name:. Text box is named txtFirstName and has text property set to nothing.
Add label and text box for last name, setting name, and text properties for each
The label text property is set to Last name:. The text box is named txtLastName and has text property set to nothing.
Add labels for full name, setting name, and text properties for each
The first label text property is set to Full name:. The second label is named lblFullName and has text property set to ----------.
Add command button and set its name and text properties
The command button is named btnDisplay and has text property set to Display Name.
Code button-click event
The code in the button-click event declares two String variables for first, last, and full names; gets the values entered in the text boxes by the user into the corresponding variables; concatenates the first name, a space, and the last name, storing the result in the full name variable; and displays the full name in the appropriate label.
Program tested and runs as required
A screenshot displays the form after the user has entered a first name and a last name and clicked the Display Name button. The corresponding first name, space, and last name are displayed in the output label.
Visual Studio 2012
Access the software at.devry.edu">https://lab.devry.edu.
STEP 1: Launch and Configure Microsoft Visual Studio 2012
.equella.ecollege.com/file/8fe38950-b7ec-4492-8803-a1c7312a7eb1/67/BIS311_W1_iLab.html#top">Back to Top
(a) On the Citrix iLab main screen, if the Visual Studio 2012 icon is not already displayed, click the plus sign (+) on the left side of the screen. Next, click on All Apps and scroll down to find Microsoft Visual Studio 2012. Click on it to add it to your Citrix iLab menu screen.
(b) On the Citrix iLab main menu screen, click the Microsoft Visual Studio 2012 icon to launch the applicatio
STEP 2: Create the Project
(a) Pull down the File menu and select New Project.
(b) In the New Project dialog box, ensure that the Visual Basic and Windows Form Application choices are selected. Change the name in the Name box at the bottom of the dialog box to NameCombiner. Click OK.
(c) A blank form for your application should now be displayed as shown below.
STEP 3: Set Up Main Form
(a) Under Solution Explorer on the right side, right-click on Form1.vb and select Rename. Change the name to NameCombiner.vb and press Enter. The result should look like the following.
(b) If the Properties window is not already displayed below the Solution Explorer window at the bottom right of the screen, click the Wrench icon on the Solution Explorer toolbar to display it.
(c) Click the blank form in the NameCombiner.vb [Design] tab on the left side of the screen to select it. The form's properties should now be displayed in the Properties window at the bottom right. Scroll through the list to find the Text property row. Change the property for the text from Form1 to Lab1 - Your Name where Your Name = your first and last names (e.g., John Smith).
STEP 4: Add Form Controls
(a) If the Toolbox pane is not opened on the left side of the screen, click the Toolbox tab at the center left edge of the screen to open it. Click the Pushpin symbol at the right side of the Toolbox title bar to pin the Toolbox in the open position.
(b) Click the Common Controls heading in the Toolbox to expand it. Under Common Controls, select the Label control and drag it onto the form, positioning it in the upper left area. In the Properties window, select the Text property of the label and change it to First name:. Press Enter and you should see the new text appear in the label.
(c) Drag a TextBox control from the Common Controls area of the Toolbox and position it directly underneath the First name: label. Note: You may have to scroll down in the list of controls to find the TextBox control. Next, in the Properties window, change the (Name) property to txtFirstName. Ensure that the Text property is empty (blank).
(d) Drag another Label control from the Toolbox and position it in the upper right area of the form. Change its Text property to Last name:.
(e) Drag another TextBox control from the Toolbox and position it directly underneath the Last name: label. Change its (Name) property to txtLastName and ensure that its Text property is empty (blank).
(f) Drag another Label control from the Toolbox and position it in the center of the form below the text boxes. Change its Text property to Full name:.
(g) Drag another Label control from the Toolbox and position it directly underneath the Full name: label. Change its (Name) property to lblFullName and its Text property to ---------- (10 dashes).
(h) Drag a Button control from the Toolbox and position it in the center of the form near the bottom. Change its (Name) property to btnDisplay and its Text property to Display Name. If necessary, click and drag the sizing handles (small circles) at the edges of the button to make it larger so that the complete text can be seen in the button.
(i) Verify that your form looks similar to the following, and make any necessary adjustments to the positions and properties of the controls.
STEP 5: Code Button-Click Event
(a) Double-click the Display Name button on the form. This will open the code editor with a stub or template for the button-click event handler procedure already generated for you by Visual Studio.
(b) Starting where the cursor is positioned, in between the line beginning Private Sub btnDisplay_Click( . . . and the line End Sub, enter the following code.
Code for Button-Click Event
'Display full name
Dim strFirstName As String
Dim strLastName As String
Dim strFullName As String
strFirstName = txtFirstName.Text
strLastName = txtLastName.Text
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
(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.at the Text property is empty (blank).
strFullName = strFirstName + " " + str