ArcGIS SDK  

Add-Ins

ESRI ErrorHandler Remover

This add-in removes the error handlers from the source files. To access the add-in, click the Add-Ins menu in Visual Basic and click ESRI Error Handler Remover. The add-in displays the message box shown below that allows the developer to select the files within a project that should have their error handlers removed. You can bypass the dialog box by pressing the Shift and Ctrl keys when you click ESRI Error Handler Remover in the Add-ins menu.

Error Handler Remover dialog box

Only ESRI error handlers are removed. ESRI error handlers have the name "ErrorHandler". If a developer has added custom code to an ESRI error handler this code will also be removed when the ESRI error handler is removed.

If all the handlers for a module are removed, the two constants added to the top of the source file are also removed. If the error handlers are removed from all the source files of a project, the error handler module is removed from the project, but the file is not deleted from disk.

How to set up the ESRI VB6 add-ins