qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Module Definitions
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Module
 
 ■ Visual Basic uses two types of modules, form modules and code modules:
 
   Module Type           Description
   ═══════════════════   ═══════════════════════════════════════════════════
   Form module (.FRM)    Binary file that includes:
                         • Form module header: Identifies the file as a valid
                           form module; specifies the location in the file of
                           form data and event handlers (event procedures).
                         • Form data: Initial values of all form properties,
                           control properties, and control names. Form
                           controls and properties can be accessed outside
                           the module where they are defined only if $FORM
                           is used. See: $FORM Metacommand
                         • Basic source code: SUBs and event handlers. Form-
                           module SUBs and event handlers are private in
                           scope to the module in which they are located.
 
   Non-form or code      Binary or text file that contains strictly Basic
   module (.BAS)         source code: executable statements and
                         declarations.
   ─────────────────────────────────────────────────────────────────────────
 
 See: Building an Application
      Creating a New Project
      Main Module Definition