VS VB6 VBA
The section of the tab allows you to customize the templates of the Insert Exception / Error Handler feature:

To create an exception / error handler you use the following window:

In this window you enter the following properties:
- : a text describing the exception / error handler.
- : the actual text of the exception / error handler. Using the button, you can include in the text predefined variables (whose value is assigned automatically by , such as selected text, name of method, etc.) or user-defined variables (whose value is asked when the exception / error handler is inserted).
- : the author of the exception / error handler.
For :
- (optional): a keyword that you can type in the code window and then "expands" it to the whole template text. This can save you time since you avoid the window to select an exception handler when you use the toolbar button or menu. To learn how to expand a keyword see Keyword Expansion.
- (optional): provides nine commands ( ... for Visual Studio 2015 and higher, and ... for Visual Studio 2013 and lower) that you can associate with exception handler templates. When you execute an exception handler command (typically through a keyboard shortcut, or creating a button on a toolbar from that command), the associated code template text is inserted in the code.
For :
- (optional): a keyword that you can type in the code window and then "expands" it to the whole template text. This can save you time since you avoid the window to select an error handler when you use the toolbar button or menu. To learn how to expand a keyword see Keyword Expansion.
- (optional): you can define a keyboard shortcut that, when invoked, the associated error handler template text is inserted in the code.
See Also:
Insert Exception / Error Handler
Predefined Variables
User-defined Variables
|