none
Unloading addin and it's ribbons programmatically RRS feed

  • General discussion

  • I have developed a Word Application level Addin with a ribbon. When I try the already given methods of unloading Addin the ribbon of my addin throws exceptions. How to unload/remove ribbons before unloading the addin. I have tried the following two methods

    System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(1)
    AppDomain.Unload(AppDomain.CurrentDomain)

    Both the above methods are throwing exceptions. Please suggest some method by which first the ribbons are unloaded/disabled/removed and then the addin is shutdown.


    Dharam Veer Sharma

    Saturday, November 1, 2014 5:42 PM

All replies