Hi Nick,
In fact, the other add-in is not created by me, they are third party
add-in, what my question is :
1. This third party add-in already has its own template (its has its own
menu)
2. If my add-in also use my custome template , will there be any conflict?
3. These two add-in will set its own template when load, in fact, which
template is applying to the current document ?
I don't have enough information about how both addins work. Is the
third-party addin based only on a template, or is it a COM-Addin, as well?
If the latter, in that case, does it load a template? In what manner?
And how do you envision using your custom template? When will it be loaded?
And what will trigger its loading?
The only things I can tell you for certain are 1. that NO Addin template
will apply specifically to the "current document". The current document will
be attached to the template from which it was generated, and anything in
that template will have the highest priority and override anything in an
Addin that *duplicates* something in the template.
2. In principle, addins should be able to exist side-by-side, if they've
been correctly and "politely" programmed. Conflicts would only occur if two
Addins try to "occupy the same space". Then the Addin that's loaded last
overrides earlier addins.
3. There is no way to predict which Addins Word loads in what order, unless
the installation uses only a single addin that loads all other addins,
explicitly.
4. Therefore, as I said before, your best bet for no interference is to
create your own toolbar, rather than trying to use one built into Word.
To find out whether that other addin is going to interfere, you're simply
going to have to test with it installed and see what it does...
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail