How to let my add-in handle multiple winword instance?

N

Nick

Hi,

I have create a Word Add-in which contains a menu,

The add-in will only work in the first winword instance, when I launch
another winword, the add-in is not responding.

How to solve?

by the way, what is the function of adding "Tag" property in the menu
object?


Thanks!

Nick
 
P

Peter Hewett

Hi Nick

Why are you launching multiple instances of Word? Word supports an MDI interface and
normally just creates a new document window using the current Word instance. Officially I
believe that Word is only supported as a single instance application even though
programmatically it's easy to create multiple instances. The reason for this is that all
instances of Word share the same Normal.dot, so if multiple versions modify it you
obviously end up with a hell of a mess!

The Tag property is there so that you can easily identify any control you add to a command
bar.

HTH + Cheers - Peter
 

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