Lounge - Ribbon Customized Addin in WORD disabling other Addin

Asked By Nadia Jules on 30-Nov-11 04:50 PM

Hi,

We've developped a customized Ribbon Addin (uses core.dll) for my company that worked fine until recently. Our records management tool developped a shared addin (uses shim.dll) and when WORD loads after i've installed my CompanyAddin it automatically hard-disables the Hummingbird DM addin.

I've been on this for more than a week now. The only way to get them both to work together is by changing the registry key of the Hummingbirg DM Addin LoadBehavior from 3 to 16 then re-enabling it after loading Word with my Addin loaded and it works fine but as soon as I close word and reopen it will automatically hard-disable the other Addin.

The only thing I see is the sequence in which the Ribbons addins are being loaded but I seem to have no control over that...

I'm really at my wits end with this. I also checked the event viewer and i'm getting this error.

.NET Runtime version 2.0.50727.3625 - Fatal Error Runtime (7A05AE08) (80131506) but i don't know which Addin is causing the error.


I don't have access to the Ribbon Source code since it's from a supplier.

Any help in trouble shooting this problem would help.

Anoop S replied to Nadia Jules on 01-Dec-11 12:04 AM
install multiple Add-in Express Microsoft Office Add-ins without building multiple setup programs.

Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your add-in is executing.

The procedure is different for Microsoft Office applications that use the Ribbon in the main window UI, and applications that do not use the Ribbon.

To re-enable an add-in in an application that uses the Ribbon

  1. In the application, click the File tab (for Microsoft Office 2010) or the Microsoft Office Button (for the 2007 Microsoft Office system).

  2. Click the ApplicationName Options button.

  3. In the categories pane, click Add-ins.

  4. In the details pane, verify that the add-in appears in the Disabled Application Add-ins list.

    The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.

  5. In the Manage box, click Disabled Items, and then click Go.

  6. Select the add-in and click Enable.

  7. Click Close.

To re-enable an add-in in an application that does not use the Ribbon

  1. In the application, open the Disabled Items dialog box. For instructions, see Help for the Office application.

  2. In the categories pane, click Add-ins.

  3. Verify that the add-in assembly appears in the list.

  4. Select the add-in and click Enable.

  5. Click Close.

Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable an add-in if it throws an unhandled exception while the Startup event handler is executing.

The procedure is different for Microsoft Office applications that use the Ribbon in the main window UI, and applications that do not use the Ribbon.

To re-enable an add-in in an application that uses the Ribbon

  1. In the application, click the File tab (for Microsoft Office 2010) or the Microsoft Office Button (for the 2007 Microsoft Office system).

  2. Click the ApplicationName Options button.

  3. In the categories pane, click Add-ins.

  4. In the details pane, verify that the add-in appears in the Inactive Application Add-ins list.

    The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.

  5. In the Manage box, click COM Add-ins, and then click Go.

  6. In the COM Add-Ins dialog box, select the check box next to the disabled add-in.

  7. Click OK.

To re-enable an add-in in an application that does not use the Ribbon

  1. In the application, open the COM Add-ins dialog box. For instructions, see Help for the Office application.

  2. In the COM Add-Ins dialog box, select the check box next to the disabled add-in.

  3. Click OK.

Jitendra Faye replied to Nadia Jules on 01-Dec-11 12:26 AM
Reference from-

http://word.mvps.org/FAQs/Customization/CustomizeRibbon.htm

The Ribbon Customizer add-in lets you create your own custom tabs on the Office ribbon, and it lets you populate your tabs with any combination of standard or custom groups of built-in controls. It also lets you copy standard groups of controls from one built-in tab to another, add custom groups of built-in controls to any tab, and delete groups of controls or entire tabs as desired. (See Figure 1.)

Ribbon Customizer screenshot

In short, the Ribbon Customizer lets you organize the Office ribbon to suit your special needs. Then it saves your customization scheme and lets you switch instantaneously between different schemes. You can activate multiple schemes at the same time, or you can deactivate all schemes and revert to the standard ribbon with a single click of your mouse.

The Ribbon Customizer saves your customization schemes in a format that allows you to easily share them with other users. If you’re a power user or a developer, you’ll like the fact that the add-in can generate xml representations of your schemes and import xml representations from third-party tools.

Ribbon Customizer dialog box

hope this will help you.

Sri K replied to Nadia Jules on 01-Dec-11 03:48 AM

An excellent resource to gain some technical background and information about Ribbon customization is available in a series of Microsoft articles titled "Customizing the Office2007 Fluent Ribbon for Developers (Parts 1, 2, and 3):"

http://msdn2.microsoft.com/en-us/library/aa338202.aspx
http://msdn2.microsoft.com/en-us/library/aa338199.aspx

http://msdn2.microsoft.com/en-us/library/aa722523.aspx