Show Navigation | Hide Navigation
You are here:
Customizing and developing with ArcGIS > Writing macros using VBA

Updating the ArcID module

Release 9.2
Last modified November 9, 2006
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Writing macros using VBA"


Related Topics

About updating the ArcID module

The Normal project in ArcMap, ArcCatalog, ArcGlobe, and ArcScene includes the module ArcID. This module contains a public property for each command in the application. The property uses the name of each command and creates a unique identifier (UID) from the globally unique identifier (GUID) of that command so that it can be created or referenced in the macro you create. You can think of it as a shortcut for finding a command or tool.
If you are developing applications or writing macros that make use of COM objects that you've added from a custom .dll, you can update the Normal.ArcID module to include your newly added commands in addition to the default commands that the application provides. In this way, you'll be able to refer to your custom COM objects by name—just as you would any other command in the application. Updating the ArcID module also allows you to keep Normal.ArcID up to date should you remove a custom command or tool from a command bar and are not sure what category it belongs to.

VBE project


How to update the ArcID module

  1. Click the Tools menu and click Customize.
  2. Click the Options tab.
  3. Click Update ArcID Module.
  4. Click Close.

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.