Word Managed Addin only loads on the first instance

R

richard.feng

Hi, everyone, I made a managed COM addin for Word XP. It will load a
customized menu when word starts. And I want the Customize menu to be
available in every word document that I created.

The menu item works on the first instance of the Word document. But it
never worked again in the rest of word instances.

So I closed all word instances. Then open the word again.

Again, the first instance works, the rest of them failed.

Did anyone know how to solve this problem? I developed the solution for
Excel XP before. I followed the exact same procedure. It worked in
Excel (every instance works). But Word failed. I am so confused right
now...

Can anyone give me some hints on this?
 
C

Cindy M -WordMVP-

Hi (e-mail address removed),
I made a managed COM addin for Word XP. It will load a
customized menu when word starts. And I want the Customize menu to be
available in every word document that I created.

The menu item works on the first instance of the Word document. But it
never worked again in the rest of word instances.
In Word, since it uses a (pseudo) multi-document interface, you MUST
assign the TAG property of each control bar and control bar button a
unique value. Doesn't matter what the value is, it just has to be
different for each object.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top