Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here is the situation: Because UI Controls cannot be saved to Normal.mxt like they used to I had to create an empty document with all my custom VBA code that is mostly called from the local document-level UI controls. (Until I have time to get proficient with .NET things will have to run this way) All is good although it would have been nice to have Normal.mxt-level UI Controls back... Whenever I need custom functionality i start creating the new document within my Custom Template. One annoying problem I have is that I have to dock ArcToolbox every time i open a document created from the custom template. It will just not stay docked whether I save the custom template with it docked or the Normal.mxt. Normal template documents are fine, ArcToolbox is where i want it, just the custom template is misbehaving. Any ideas? Thanksalt text

share|improve this question

The handle to the ArcToolbox dockable window.

IArcToolbox.hWnd Property

You can create new templates by saving map documents in your user profile that only you will see. Add user-defined categories (folders) and map document templates to the following location:


Tip - To create multiple System template locations, you can modify the following registry key, separating folders with a semicolon (;).


C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin\Templates;E:\More System Templates

Customizing the user interface With ArcGIS 10, map documents referencing map templates (.mxt) files for configuring user interfaces is no longer supported. ArcGIS 9.3.1 map documents referencing .mxt will continue to work at ArcGIS 10; however, you cannot create new .mxt files or modify existing .mxt files for saving user interface customizations.

share|improve this answer
up vote 1 down vote accepted

Running MxdDoctor corrects this issue but unfortunately the utility also removes customization (UI Controls & toolbars)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.