| VBMaximizer Tour: |
VBMaximizer has some tools to simplify the error handling. First of all there is a command that adds standard error handling code to all the procedures in the selection. Moreover you can use an other command to add line numbers that are especially useful to determine where an error occurred. Many developers add them to their apps while in the beta phase, and perhaps remove them when the program has been thoroughly tested. This command lets you perform this task quickly and safely. There are other tools to decode VB and API error codes and to generate Select Case structures to handle the different errors.

![]() |
The Command1_Click_ErrHandler handler has been added simply by clicking the Add Error Handler command of VBMaximizer |
![]() |
Use this dialog to add or remove line numbers to the code of the current procedure, module, project or to the selected code only |
![]() |
You can select some more options to specify how to number the lines. You can see the added line numbers in the code window. |

![]() |
Use this dialog to read the description of each VB error code. The same functionality is provided also for API errors. Select the error codes you want to generate an handler for |
![]() |
The Select Case structure generated to handle different errors in different ways |