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
Assignment details: Replace all the 0 (Zero) digits in your ID by 4. Example: If your ID is 38104680, it becomes 38144684 Take the first 6 digits and substitute them in this expression (( A + B) / C) * ((D-E)/F)-2) according to the following table;                                                                                       Letter Replace by Digit Example Digit A 1st 3 B 2nd 8 C 3rd 1 D 4th 4 E 5th 4 F 6th 6   After substitution your expression will be similar to this (( 3 + 8) / 1) * ((4-4)/6)-2). Draw a rooted tree that represents your expression.                             [3 marks] What is the prefix form of this expression.                             What is the value of the prefix expression obtained in step 2 above?
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
The formulas for calculating BMI are BMI= 703 · weig htln Pounds/h eightlninches2 or BMI=weightln Kilograms/he ightin Meters2 Create a BMI calculator that reads the user's weight and height (providing an option for the user to select which formula to use), and then calculates and displays the user's body mass index. Also, display the BMI categories and their values from the National Heart Lung and Blood Institute: http://www.nhlbi.nih.gov/health/educational/lose_wt/BMI/bmicalc.htm (Links to an external site.) so the user can evaluate his/her BMI.
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