I've written a custom ribbon for word. In my winForms-application I also open a word document with word-Interop to create some texts with word.
When I use normal word documents my ribbon is shown correct but when I open the document in my application then the ribbon is gone.
I found out that it is somehow disabled in the COM-AddIn-Options in Word. When I reactivate it manually it appears.
How can I reactivate it programmatically?
[Update] For better understanding: I have two solutions. 1) A AddIn for Word which displays a ribbon 2) A winform-application which has a winword-control which loads word in it.
When the second one is started the first one is not available anymore.