Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is visual basics show the steps Using forms Text property, change the title to: Your full name Assignment 1 . From Toolbox (Click on

This is visual basics show the steps

Using forms Text property, change the title to: Your full name Assignment 1.

  1. From Toolbox (Click on View menu option and choose Toolbox), Add three Labels, two TextBoxes, and a Button controls on the form. You use TextBoxes to input your first name and last name. See below Form Layout with Controls for more details.
  2. Select Label1 and in its Text property type: Your First Name.
  3. Select Label 2 and in its Text property type: Your Last Name.
  4. Select Label3 and in its Text property type: Your Full name will be displayed here; Name Label3 as: lblFullName; change BorderStyle to Fixed3D; change AutoSize to True.
  5. Select Button1 and in its Text property type: "Display my name" This is the label for the button. Name the Button as: btnDisplayName
  6. Select TextBox1 and Name it as: txtFirstName.
  7. Select TextBox2 and Name it as: txtLastName.
  8. Double-click the button and type the following code inside the button Sub procedure to display:
    • "Hello, " & content of txtFirstName & space & content of txtLastName.
  9. You can access the content of a TextBox from its Text property.
  10. To start with your code, try this: lblFullName.text = "Hello, " & txtFirstName.text .... And continue.
  11. Run the program, press the button, Hello, displays on the label.
  12. Items to note: Appearance of the form is very important; Make sure that your design is clean; You name the controls according to the instructions; Spelling is important.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

=+2 Is the decision sustainable in the long run?

Answered: 1 week ago

Question

=+1 Is the decision fair to employees?

Answered: 1 week ago