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 3E
Program Plan Intro

Form design:

  • Open Microsoft Visual Studio.
  • Select Visual Basic and click Windows Application.
  • Name the project as “Customers 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 3E

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

ObjectPropertySetting
Form1TextCustomers Information
txtFirstText(Empty)
txtLastText(Empty)
txtAddressText(Empty)
txtCityText(Empty)
txtZipText(Empty)
lblMessageText(Empty)
btnSaveTextSave
  • Add a necessary label controls to get the user information and display the message once the information are stored.
  • Add a button control, to store the information.

Blurred answer