locked
Addin is not loaded when in compatibility mode RRS feed

  • Question

  • Hi there!

    I have a plugin that is loaded on my machine when I start Word 2010 as I want it to do. But if I load documents from Word 97 or 2003 and the application starts in compatibility mode my plugin is not loaded.

    Is threre anywhere a switch in my project properties or in word to make the plugin work in compatibility mode too?

    Regards Sebastian

    Monday, February 9, 2015 10:31 AM

Answers

  • Hello Sebastian,

    There is no special settings for that. Did you have a chance to check out the COM Add-ins list in Word?

    Is your add-in listed in the Disabled Items list?

    Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in.

    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.

    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.

    When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused the application to soft disable the add-in has not been fixed, the application will soft disable the add-in again.

    You can read more about that in the How to: Re-enable an Add-in That Has Been Disabled article in MSDN.

    Monday, February 9, 2015 10:41 AM
  • Hey Eugene!

    I could fix this by adding the registry value to the HKLM hive instead of per user and now it works like intended.

    Monday, February 9, 2015 11:05 AM

All replies

  • Hello Sebastian,

    There is no special settings for that. Did you have a chance to check out the COM Add-ins list in Word?

    Is your add-in listed in the Disabled Items list?

    Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in.

    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.

    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.

    When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused the application to soft disable the add-in has not been fixed, the application will soft disable the add-in again.

    You can read more about that in the How to: Re-enable an Add-in That Has Been Disabled article in MSDN.

    Monday, February 9, 2015 10:41 AM
  • Hey Eugene!

    I could fix this by adding the registry value to the HKLM hive instead of per user and now it works like intended.

    Monday, February 9, 2015 11:05 AM
  • It doesn't matter what windows registry hive is used. I don't think the issue comes from the HKCU hive. Try to debug the add-in and look for any execptions in the code.
    Monday, February 9, 2015 11:50 AM