T
Theodar Sundeep
Hi,
I have developed Excel Add-in, and have hosted the Excel into my windows
form application using the ActiveX control.
The Add-in that I have developed is a "Managed COM Add-In" which implements
the IDTExtensibility2 interface.
My question here is that I need to Load the add-in only when the Excel is
hosted in my windows form (i.e inside my OLE ActiveX control). I need to get
this info in the OnConnection event of IDTExtensibility2 so that I don’t
proceed with the loading of the Excel add-in. Kindly let me know if there is
any way for me to differentiate if the excel is hosted inside a ActiveX
control or standalone [other than the ((Excel.Application)
application).Visible property].
Thanks & Regards,
M.Theodar Sundeep Kumar.
I have developed Excel Add-in, and have hosted the Excel into my windows
form application using the ActiveX control.
The Add-in that I have developed is a "Managed COM Add-In" which implements
the IDTExtensibility2 interface.
My question here is that I need to Load the add-in only when the Excel is
hosted in my windows form (i.e inside my OLE ActiveX control). I need to get
this info in the OnConnection event of IDTExtensibility2 so that I don’t
proceed with the loading of the Excel add-in. Kindly let me know if there is
any way for me to differentiate if the excel is hosted inside a ActiveX
control or standalone [other than the ((Excel.Application)
application).Visible property].
Thanks & Regards,
M.Theodar Sundeep Kumar.