Embedded mode recognition

E

empi

Hi,

is there a way to retrieve an information that office application has been
embedded. (It should be done in the com-addin, probably in OnConnection
method). I have found an example in MSDN (COM Add-ins in Detail by Peter
Vogel). There they are reading first element of parameter "custom" (the last
parameter) given to OnConection method. Unfortunately when e.g. word is
embedded into internet explorer, the parameter is not defined...

Does anybody have another idea?

Thanks in advance,



Martin
 
E

empi

Hi,
I was making further investigation and found out, that I could use
Application.Visible property (unfortunately it doesn't work with PowerPoint
:-(, where the visibility is always set to false). Another problem arises
when I have one document embedded and another not - then it behaves
according to the first opened document ... :-(.
If anyone has any hint, please post it :).
Thnx,

M.
 

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