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
Lab 07: Java Graphics (Bonus lab) In this lab, we'll be practicing what we learned about GUIs, and Mouse events. You will need to implement the following: ➤ A GUI with a drawing panel. We can click in this panel, and you will capture those clicks as a Point (see java.awt.Point) in a PointCollection class (you need to build this). о The points need to be represented by circles. Below the drawing panel, you will need 5 buttons: о An input button to register your mouse to the drawing panel. ○ о о A show button to paint the points in your collection on the drawing panel. A button to shift all the points to the left by 50 pixels. The x position of the points is not allowed to go below zero. Another button to shift all the points to the right 50 pixels. The x position of the points cannot go further than the You can implement this GUI in any way you choose. I suggest using the BorderLayout for a panel containing the buttons, and a GridLayout to hold the drawing panel and button panels.…
If a UDP datagram is sent from host A, port P to host B, port Q, but at host B there is no process listening to port Q, then B is to send back an ICMP Port Unreachable message to A. Like all ICMP messages, this is addressed to A as a whole, not to port P on A. (a)  Give an example of when an application might want to receive such ICMP messages. (b)  Find out what an application has to do, on the operating system of your choice, to receive such messages. (c)  Why might it not be a good idea to send such messages directly back to the originating port P on A?
Discuss how business intelligence and data visualization work together to help decision-makers and data users. Provide 2 specific use cases.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
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