Typically used to describe behavior of graphic controls like windows, forms, buttons, etc. Programs usually built using interactive visual programming development environment. Overall Structure VB applications are made up of modules . Each module consists of declarations followed by procedures . Declarations can be of types , variables , constants , or DLL procedures .
Procedures can be subroutines , functions , event handlers, or property procedures.
Variables Variables may be declared locally at module or procedure level. Module variables may be marked public to other modules. Procedure variables may be marked static to persist from one procedure activation to the next. Static scope rules apply to declarations. Declarations may have, but do not require, a type specification.