Programming with Microsoft Visual Basic 2015 (MindTap Course List)
Programming with Microsoft Visual Basic 2015 (MindTap Course List)
7th Edition
ISBN: 9781285860268
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 1.LB, Problem 1E

Explanation of Solution

a.

Create a Visual Basic Windows Application.

  • Open “Microsoft Visual Basic 2010”.
  • Click “File” Menu -> “New Project”.
  • In the “New Project” pop-up window, select the “Windows Form Application” and give the name as “Warren Project”, and specify the location as “\VB2015\Chap01\” and the solution name as “Warren Solution”.

Set the form file’s name...

Explanation of Solution

b.

Set the form’s property.

Step 1:

  • Set the form “Name” property as “frmMain”, so that the form name is changed.

Screenshot to set the form name

Step2:

  • Set the “Font” property -> “Segoe UI” with “9” points for the form.

Screenshot to set the font of the form

Explanation of Solution

c.

Set the label control’s property.

Step 1:

  • Go to “Toolbox” in the right side of the form, then click and drag the “Label” into the Form.
  • Set the label “Text” property as “International Mechanics Association”, so that the form displays the text in the label.

Screenshot to set the label text property

Step 2:

  • Set the “Font” property -> “Segoe UI” with italics style and “16” points for the form.

Screenshot to set the font style of the form

Explanation of Solution

d.

Set the picture box control:

Step 1:

  • Go to “Toolbox” in the right side of the form, then click and drag the “PictureBox” into the Form.
  • Set the image from the local drive into the “image” property.

Screenshot to set the image property

Step 2:

  • Set the label “Size” property as “170, 140”...

Explanation of Solution

e.

Set the button’s control property.

Step1:

  • Add the button tool from the toolbox to the form.
  • Set the button “Name” property as “btnExit”.

Screenshot to set the button’s name property

Explanation of Solution

f.

Code for the “Exit” button:

  • Double click on the “Exit” button.
  • Enter the instruction “Me.Close()” in the “btnExit” control click event...

Explanation of Solution

g.

Verify the name of Startup form and the changing of the executable name.

  • Set the assembly name as “Warren” and check if the startup form contains “frmMain”...

Explanation of Solution

h.

Save the solution.

  • Click File -> Save All (Ctrl + Shift + S) to save the project.
  • Save the application-> press “F5” key to debug the application...

Explanation of Solution

i.

Run the project.

  • Press “F5” key to debug the application or click on the run button in the Standard Toolbar...

Blurred answer
Students have asked these similar questions
How can I perform Laplace Transformation when using integration based on this?
Write an example of a personal reflection of your course. - What you liked about the course. - What you didn’t like about the course. - Suggestions for improvement. Course: Information and Decision Sciences (IDS)  The Reflection Paper should be 1 or 2 pages in length.
How can I perform Laplace Transformation when using integration ?
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781305480537
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage