Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Question
Book Icon
Chapter 10, Problem 4E
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Fence Project”.
  • Store the file in desired location.
  • The created project is now displayed with a form in the name of Form1.
  • Rename the Form1 as “Main Form” and add the necessary components.
  • In property window, change the Form name and add changes for Form elements properties.
  • Add a new Visual Basic Class file and name it as “Rectangle.vb”.
  • Click the File menu->Save All.

View of the form design in the IDE:

Programming with Microsoft Visual Basic 2017, Chapter 10, Problem 4E

The form control properties in the properties window are as follows:

ObjectPropertySetting
Form1TextFencing Haven
txtWidthText(Empty)
txtLengthText(Empty)
txtFootCostText(Empty)
lblTotalCostText(Empty)
btnCalcTextCalculate
btnExitTextExit
  • Add label controls to input the values from user and to show the result.
  • Add two button controls, one to display the total cost of fencing and another to exit the program.

Blurred answer
Students have asked these similar questions
I need to resolve the following....You are trying to convince your boss that your company needs to invest in a license for MS-Project (project management software from Microsoft) before beginning a systems project. What arguments would you give her?
What are the four types of feasibility? what is the issues addressed by each feasibility component.
I would like to get ab example of a situation where Agile Methods might be preferable versus the traditional SDLC? What are the characteristics of this situation that give Agile Methods an advantage?
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
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT