After completing this chapter, you will be able to:
Employ structured programming techniques and create modules containing public variables and procedure definitions.
Practice using public variables that have a global scope.
Increase programming efficiency by creating user-defined functions and Sub procedures.
Master the syntax for calling and using user-defined procedures.
Pass arguments to procedures by value and by reference.
In the first nine chapters of this book, you have used event procedures such as Button1_Click, Timer1_Tick, and Form1_Load to manage events and organize the flow of your programs. In Visual Basic programming, all executable statements must be placed inside some procedure; only general ...