Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When you extend Esri's ArcMap with both an Extension, a Toolbar and a number of Commands, is the order in which these categories are loaded by ArcMap well-defined? (I.e. are Commands always loaded before Toolbars, Extension always loaded before Commands, etc.)

share|improve this question

2 Answers 2

up vote 3 down vote accepted

in 9.x, I'm pretty sure it is Extensions, Commands then Toolbars. I'd have to check with 10.0 since they are using a different method for loading custom code (although it's prob still the same)

cheers brian

share|improve this answer

I'd recommend reading the "About extensions" topic http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM/ExtendAO/AboutExtensions.htm which covers just-in-time extension loading. Ideally all extensions should be JIT extensions. Tools and commands can control the startup of a JIT extension etc.

share|improve this answer

Your Answer

 
discard

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.