T
telephasic.workshop
I have a COM Add-In for MS Word written in C#, adds a toolbar a Word
document. I am setting the LoadBehavior to 8 load on demand.
The problem is, when I close the Word document and open another Word
document, or the same document, and go to the Tools menu the checkbox
next to my add-in is still checked, but my toolbar isn't loaded in the
Word document. I have to go through the trouble of unchecking the
checkbox next to my add-in to unload it, clicking ok, than going back
to the tools menu and checking the the checkbox again. this loads the
toolbar fine, but this is a pain, and users will be annoyed too.
something is changing the LoadBehavior registry setting to 9, which I
think is why the checkbox is already checked. How do I keep the
registry setting to 8?
document. I am setting the LoadBehavior to 8 load on demand.
The problem is, when I close the Word document and open another Word
document, or the same document, and go to the Tools menu the checkbox
next to my add-in is still checked, but my toolbar isn't loaded in the
Word document. I have to go through the trouble of unchecking the
checkbox next to my add-in to unload it, clicking ok, than going back
to the tools menu and checking the the checkbox again. this loads the
toolbar fine, but this is a pain, and users will be annoyed too.
something is changing the LoadBehavior registry setting to 9, which I
think is why the checkbox is already checked. How do I keep the
registry setting to 8?