Programming with Microsoft Visual Basic 2015 (MindTap Course List)
Programming with Microsoft Visual Basic 2015 (MindTap Course List)
7th Edition
ISBN: 9781285860268
Author: Diane Zak
Publisher: Cengage Learning
Question
Book Icon
Chapter 3.LA, Problem 3E
Program Plan Intro

Procedural-level variables

Program plan:

  • Create new Windows Forms Application.
  • Design the form by placing the labels, textboxes, and buttons and then change their name and properties.
  • Inside the “Display” button,
    • Declare the variables “busName” as string data type, “numBeg”, “numHired”, “numLeft”, and “numEnd” as integer data types.
    • Set the text box values to the corresponding variables.
    • Display the procedural-level variables using the “MessageBox.Show” method.
  • Inside the “Exit” button,
    • Close the form using “Me.Close” method

Blurred answer
Students have asked these similar questions
The memory locations listed in a procedure header’s parameterList have procedure scope and are removed from the computer’s main memory when the procedure ends. a. True b. False
Write an assignment statement that decrements the intNum counter variable by 5. Use an arithmetic assignment operator.
Write a stored procedure named displayNumberOfFilmRatings(). The displayNumberOfFilmRatings () procedure should find number of films for each film rating and then display the film rating and the number for films having that type of rating. Note: The displayNumberOfFilmRatings() procedure does not need to declare any variables. Hint: The output should have two columns only. Hint: There is no need to use cursor processing for this stored procedure.

Chapter 3 Solutions

Programming with Microsoft Visual Basic 2015 (MindTap Course List)

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
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage