Word addin not loading on second Word document
-
21-09-2019 - |
Question
Ive written a Word addin in VS 2008 thats pretty simple, just adds a commandbar and a couple of buttons.
The addin loads and works fine for the first document that is opened.
When I open a second and subsequent documents, the addin does not load.
Please ask for anymore info if needed. Happy to provide.
Solution
Wow, after a couple of days working on this issue, I finally found the solution.
http://www.eggheadcafe.com/forumarchives/officedeveloperVisualBasica/Aug2005/post23498818.asp
I wasn't assigning a unique tag to each of my buttons!
newButton.Tag = Guid.NewGuid().ToString();
Voila!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow