Embedded Office Application - How to know whether the app is running or the object is embedded

Posted by A9S6 on Stack Overflow See other posts from Stack Overflow or by A9S6
Published on 2010-06-15T04:36:32Z Indexed on 2010/06/15 4:42 UTC
Read the original article Hit count: 565

Filed under:
|
|
|

I am adding an Excel Worksheet object inside Word. Excel has a COM addin attached to it. Any idea how one can know whether Excel is running independently or as an embedded object?

The COM Addin attached to Excel loads when the embedded Excel object is activated (double-clicked) inside Word. I am looking for some kind of a property or a parameter in OnConnection(...) or other method that can tell the state of Excel object.

© Stack Overflow or respective owner

Related posts about excel

Related posts about embedded