Right clicking in the code window will access the following functions
Class_Initialize event in ActiveX Dlls and EXEs: Error Handling should not be present; re-raising the error may result in an access violation. My recommendation is not to have any code in the Class_Initialize or to move the code from the Class_Initialize into a Private Sub and call this from the Class_Initialize.
All errors detected at the highest level of code (usually the control events) are reported to the user by calling an error logging procedure. This procedure can be enhanced to log the error to the event log or wherever.
All errors detected at lower levels are re-raised; this causes the error to be raised in the calling procedure.
The Err.Source property is modified to provide the error handling procedure with a call stack.
Special attention must be applied to the
Configuration
Under the options tab there are a number of configuration tabs that allow the automatically inserted text to be specified. The tabs should be self-explanatory.
Add Line Numbers
If compiles are initiated from the command file using the
"/m" or "/make" option then the following options can be
specified after the "/c" or "/cmd" option: