Re: Should we develop add-in based on the normal template?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Cindy M -WordMVP- (C.Meister-C_at_hispeed.ch)
Date: 08/25/04


Date: Wed, 25 Aug 2004 22:22:59 +0200

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 :-)



Relevant Pages

  • Re: Templates
    ... There are lots of useful addins. ... Actually, when you create a new workbook based on a template, the file ... If a .xls file is marked readonly, when a user opens that file, then the user ...
    (microsoft.public.excel.misc)
  • Re: True or False
    ... accessing the actual code module when templates are loaded as Addins. ... Dim oTemplate As Template ... Dim arrProcedures() As String ...
    (microsoft.public.word.vba.general)
  • Re: Can not save normal.dot when automating Word from VBScript
    ... "Prompt to save Normal template" is checked. ... Can I avoid addins when startin Word or avoid messages? ... Is it possible to start Word from script without loading any addins? ...
    (microsoft.public.word.vba.general)
  • VB addin to check Word addins are installed
    ... addins in Word have not been disabled (usually have been disabled ... Global.dot - STARTUP ... When I loop through in VB or VB.Net, ... up 'Another.dot' (or any template not stored in the STARTUP folder). ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: Should we develop add-in based on the normal template?
    ... My own template will also load when the add-in is loaded. ... > I don't have enough information about how both addins work. ...
    (microsoft.public.office.developer.com.add_ins)