Addin - Word another instance doesn't work

I

Irfan Ahmed

Hi

How to get the active Document in Word?
If i open a file from File menu or from the right "New Document" bar, my
addin can't get the active document property.
Any one help what is the problem with this?
I am doing it in VC.

Thanks,
Irfan
 
J

Joza

Irfan Ahmed said:
Hi

How to get the active Document in Word?
If i open a file from File menu or from the right "New Document" bar, my
addin can't get the active document property.
Any one help what is the problem with this?
I am doing it in VC.

Thanks,
Irfan

and same question form me, but i'm working in C# and I have also that problem.
 
I

Irfan Ahmed

Another finding that I have is, only the first instance of Word initializes
the OnConnection() & OnStartupComplete() functions. but when you open a
another Word these functions are not called and no action is fired in this
Word window.

Please help me out.
 

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