Bob Eaton
2006-07-04 06:52:41 UTC
Is it possible to associate an add-in with a document template so that it
only loads if the document template is attached (i.e. via "Tools",
"Templates and Add-ins")?
I have an add-in I've made, but I don't want it loaded always. Only when I
want it to be added.
Also, the website I got help from in creating the add-in (in C#:
http://www.codeproject.com/csharp/wordaddinpart1.asp) suggested
redistributing a template into which you can add your menu items (since
another add-in may change the CustomizationContext and clobbered your
add-in's menus).
If it's not possible to associate an add-in with a document template to be
loaded only when the document template is attached, then what other
alternatives are there for not loading it at "host application startup"?
That is, I used the extensibility wizard in VS.Net 2005 to create this
"shared
add-in", and one of the questions was "Do you want it to start when the host
application starts". I said "yes", but what I really want is "no". If I say,
"no", however, it's not clear to me how to manually add an "add-in".
I know if I go to "Tools", "Templates and Add-in", it's easy enough to add a
document template (thus my first question above), but for "Add-ins", it's
looks like it's looking for a ".wll" extention file. But my shared add-in
has a .dll extension!?
I'm sure it's something obvious, but I can't seem to find it in the
documentation.
Thanks in advance,
Bob
only loads if the document template is attached (i.e. via "Tools",
"Templates and Add-ins")?
I have an add-in I've made, but I don't want it loaded always. Only when I
want it to be added.
Also, the website I got help from in creating the add-in (in C#:
http://www.codeproject.com/csharp/wordaddinpart1.asp) suggested
redistributing a template into which you can add your menu items (since
another add-in may change the CustomizationContext and clobbered your
add-in's menus).
If it's not possible to associate an add-in with a document template to be
loaded only when the document template is attached, then what other
alternatives are there for not loading it at "host application startup"?
That is, I used the extensibility wizard in VS.Net 2005 to create this
"shared
add-in", and one of the questions was "Do you want it to start when the host
application starts". I said "yes", but what I really want is "no". If I say,
"no", however, it's not clear to me how to manually add an "add-in".
I know if I go to "Tools", "Templates and Add-in", it's easy enough to add a
document template (thus my first question above), but for "Add-ins", it's
looks like it's looking for a ".wll" extention file. But my shared add-in
has a .dll extension!?
I'm sure it's something obvious, but I can't seem to find it in the
documentation.
Thanks in advance,
Bob