VB File Structure Study Notes
+ Project Group File.vbg
Contains two parts: interface and program code
- The interface part contains the attribute information of the form and control keys
- The code part contains the declaration of constants, variables, event procedures, and general procedures
A project can contain one or more form modules
In a multi-form module program, some general procedures may need to be shared among different forms. In order to avoid duplication, these shared code should be stored in a module that is not related to any form, which is the standard module.
The standard module can contain the declaration of constants, variables, general procedures, and Sub Main procedure, but cannot contain event procedures.
- Used to store user-defined classes, objects, and methods