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

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Cookie Sales 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 9, Problem 5E

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

ObjectPropertySetting
Form1TextCookie Sales
lblChocolateChipText(Empty)
lblOatmealText(Empty)
lblPeanutButterText(Empty)
lblSugarText(Empty)
btnDisplayTextDisplay totals
btnExitTextExit
  • Add a necessary label control to display the total counts of cookies.
  • Add two button controls to display the cookies total and exit the program respectively.

Blurred answer
Students have asked these similar questions
Using C# language please in Visual Studio 2022 in Windows Form App.    As for the folder-- for  convenience sake-- create some folders and insert a couple of names in there, not 200.
True or False : The Title property holds the name of the file the user selected with an Open or Save As dialog box.
PLEASE USE JAVA RMI AND JSON  Create an RMI application with GUI that will allow the recording of employee attendance. The program should run as follows: The program has a JSON file that holds employee credentials. Employees will enter their usernames and passwords to open the application. Once they have successfully logged in to the application, they can click on the time in and time out button to record their time. The JSON file will also hold the time in and out records.
Knowledge Booster
Background pattern image
Similar 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:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage