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 7, Problem 14E
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Rembrandt 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.
  • Click the File menu->Save All.

View of the form design in the IDE:

Programming with Microsoft Visual Basic 2017, Chapter 7, Problem 14E

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

ObjectPropertySetting
Form1TextRembrandt Auto-Mart
txtIdText(Empty)
txtSoldText(Empty)
lblFullText(Empty)
lblPartText(Empty)
lblNewText(Empty)
lblUsedText(Empty)
btnCalcTextCalculate
btnExitTextExit
  • Add two text box controls to get the input for ID and number of cars sold.
  • Add four label controls to show the results of the GPA.
  • Add two button controls to calculate the total number of cars sold on different categories and exit the program respectively.

Blurred answer
Students have asked these similar questions
Pearson Charity: Donation Form Please complete the form. Mandatory fields are marked with a * PERSONAL INFORMATION DETAILS- For example: John Doe For example: 012-345-6789 For example:user@domain.com Select an option Name * Phone* Email * Gender* DONATION DETAILS Amount* Fund* Donate Any amount between R1 - R1000 Select an option
A form contains three radio buttons: January, February, and March. The radio buttons are named radJanuary, radFebruary, and radMarch. Write the code to display the birthstone corresponding to the selected radio button. The birthstones for the three months are Garnet, Amethyst, and Aquamarine. Display the birthstone in the lblBirthstone control.
02 - Rectangular Prisms Prompt the user for three integers representing the sides of a rectangular prism. Calculate the surface area and volume of the prism, then draw three rectangles of asterisks portraying the top, side, and front view of the prism labeled accordingly (which set of numbers represent each view is at your discretion). Enter three integers: 2 5 6 Surface Area: 104 Volume 60 Top View (2 x 5): Side View (2 x 6): Front View (5 x 6):
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