The COM add-in that you added to the Templates and Add-Ins list is not loaded when you restart Word


Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry

Symptoms


When you try to add a Component Object Model (COM) add-in to your Templates and Add-Ins list, you may find that the COM add-in is not loaded when you restart Microsoft Word 2002, Microsoft Office Word 2003, or Microsoft Office Word 2007.

Cause


This behavior may occur if the LoadBehavior registry entry DWord value of a COM Add-in is set to 0.

Workaround


To work around this behavior, set the LoadBehavior DWord registry entry DWord value in the following registry subkey to 2:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\<COM Add-in>
To do this, follow these steps.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
  1. Click Start, and then click
    Run.
  2. In the Open box, type
    regedit, and then click OK.
  3. Locate, and then click the following subkey:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\Word\<COM Add-in>
  4. In the right-pane, right-click
    LoadBehavior, and then click
    Modify.
  5. In the Edit DWORD Value dialog box, type
    2 in the Value data box, and then click
    OK.
  6. Quit Registry Editor

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


By default the system sets the LoadBehavior DWord value to 0. The following are the different value settings for theLoadBehavior DWord value:
  • 0 = Disconnect - the COM add-in is not loaded.
  • 1 = Connected - the COM add-in is loaded.
  • 2 = Bootload - the COM add-in loads at Startup.
  • 8 = DemandLoad - the COM add-in loads only when it is requested by the user.
  • 16 = ConnectFirstTime - the COM add-in loads only one time. This COM add-in can do this one time load at the next Startup.

References


For more information about how to identify COM add-ins in Word 2002, click the following article number to view the article in the Microsoft Knowledge Base:

319719 How to determine whether any COM add-ins are loaded in Word