Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Question
Chapter 8, Problem 3E
Program Plan Intro
Form design:
- Open Microsoft Visual Studio.
- Select Visual Basic and click Windows Application.
- Name the project as “Gross Pay 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:
The form control properties in the properties window are as follows:
Object | Property | Setting |
Form1 | Text | Gross Pay Calculator |
lstCodes | Items | Pay code values |
txtHours | Text | (Empty) |
lblGross | Text | (Empty) |
btnCalc | Text | Calculate |
btnExit | Text | Exit |
- Add a necessary text box control and list box control to get hours and pay code detail.
- Add a button control to compute the gross pay and add another button to exit the program.
Expert Solution & Answer
Trending nowThis is a popular solution!
Chapter 8 Solutions
Programming with Microsoft Visual Basic 2017
Knowledge Booster
Recommended textbooks for you
- Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage