Microsoft KB Archive/824251

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

Article ID: 824251

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003
 * Microsoft Word 2002 Standard Edition

-



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:

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:


 * 1) In the right-pane, right-click LoadBehavior, and then click Modify.
 * 2) In the Edit DWORD Value dialog box, type 2 in the Value data box, and then click OK.
 * 3) Quit Registry Editor



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; 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.

