Introduction to Procedures

See Also

You can simplify programming tasks by breaking programs into smaller logical components. These components — called procedures — can then become building blocks that let you enhance and extend Visual Basic.

Procedures are useful for condensing repeated or shared tasks, such as frequently used calculations, text and control manipulation, and database operations.

There are two major benefits of programming with procedures:

There are several types of procedures used in Visual Basic:

For More Information   Property procedures are discussed in "Programming with Objects."

To learn more about Sub and Function procedures, see the following topics: