function OpenWin(url, w, h) { if(!w) w = 400; if(!h) h = 300; window.open(url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true); } function Print() { window.focus(); if(window.print) { window.print(); window.setTimeout('window.close();',5000); } }
| Team-Fly | |
| Special Edition Using Microsoft® Visual Basic® .NET By Brian Siler, Jeff Spotts
| Table of Contents | | Chapter 8. Managing Program Tasks with Procedures |
From Here… In this chapter, you have learned about the following: The general definition of procedures How to create and use procedures Passing parameters to procedures Function procedures, which return a value The scope and accessibility of procedures Reusing procedures Procedures are but one of many different concepts that you will use as you learn to write code. The following chapters can provide more information to you as you develop your coding skills: For an introduction to writing a Visual Basic application, see Chapter 2, "Creating Your First Windows Application." For a thorough discussion of the pieces that make up a well-rounded application, see Chapter 5, "Visual Basic Building Blocks." To learn more about how to use variables in your applications, see Chapter 6, "Storing Information in Variables." To learn how to cause your code to make decisions and execute repetitively, see Chapter 7, "Controlling the Flow Of Your Program." |
| Team-Fly | |
|
| |
|