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?
Design a form for a food outlet that sells pizzas,burgers and cold drinks. The form is to be used to print abill. The name and phone number of the customer along with the quantity of every item purchasedis to be entered.On clicking the generate button, a bill should be displayed on the screen in the following format: Name: Abc Phone: 1234567890 Total: Rs. 250 Ensure that -Name should have alphabets only -Phone number should have 10 digits only -Negative quantity is not allowedPrice list can be hard coded in the form. Use Javascript.
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
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