O'Reilly logo

Microsoft® Visual Basic® 2008 Step by Step by Michael Halvorson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Creating Modules and Procedures

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 Microsoft Visual Basic programming, all executable statements must be placed inside some procedure; ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required