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

Form design:

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

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

ObjectPropertySetting
Form1TextPassword
txtWordsText(Empty)
lblPasswordText(Empty)
btnCreateTextCreate password
btnExitTextExit
  • Add the required controls to the form.
  • Add two button controls to create the password and exit the program respectively.

Blurred answer
Students have asked these similar questions
2. Create an Orders application as shown in the figure below. Orders Number ordered: Add Subtract Total ordered: Exit a) The interface provides a button for adding the number ordered to the total ordered, and a button for subtracting the number ordered from the total ordered. b) Code the application using a class-level variable. c) Be sure to code the text box's TextChanged and Enter event procedures. d) Test the application. (If you add 7 and 5, and then subtract 2, 1, and 6, and then add 10, 7, 4, and 5, the total ordered will be 29.)
Choose correct option                                 The code contained in the ............... allows an application to retrieve the contents of the Private variable associated with the property. Getter Block Retrieve Set Block Get Block
In this exercise, you modify the Cerruti Company application from this lesson. Use Windows to make a copy of the Cerruti Solution folder from this lesson. Rename the copy Modified Cerruti Solution. Open the Cerruti Solution (Cerruti Solution.sln) file contained in the Modified Cerruti Solution folder. Open the designer and Code Editor windows. Modify the code so that the GetFwt function (rather than btnCalc_Click procedure) determines the selected radio button. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.
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