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.
Main Module Definition
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Main Module
 
 ■ In Visual Basic, the main module is the module in a project that:
   • Contains the starting point where processing begins
   • Names the root portion of a project (.MAK)
   • Names the default executable (.EXE) file
 
 ■ One module within each project is identified as the main module. Either a
   form module or code module can be the main module. By default, the first
   module loaded is the main module in the Visual Basic programming
   environment. You can overwrite this selection by choosing Set Start-up
   File from the Run menu.
 
 ■ When the main module file specified is a Basic source code (.BAS) file,
   the project starting point is at the first line of executable module-level
   code. When the main module is a form (.FRM) file, the project starts by
   loading that form file and waiting for any defined form events to occur.
 
 See: Building an Application  Module Definitions