ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   IDTExtensibility2.OnConnection Event (https://www.excelbanter.com/excel-programming/325519-idtextensibility2-onconnection-event.html)

Mircea Pleteriu[_2_]

IDTExtensibility2.OnConnection Event
 
Hi,

What and how to provide an Office COM Add-in with additional data through
the IDTExtensibility2.OnConnection event handler?

Thanks,
Mircea






Peter Huang [MSFT]

IDTExtensibility2.OnConnection Event
 
Hi,

Currently I am researching the issue and we will reply here with more
information as soon as possible.
If you have any more concerns on it, please feel free to post here.

Thanks for your understanding!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.


Peter Huang [MSFT]

IDTExtensibility2.OnConnection Event
 
Hi Mircea,

Based on my research, the IDTExtensibility2.OnConnection is called by the
addin host, i.e. the office application. Because we have no way to change
the office code to pass additional information to addin. . Currently Office
supplies a single value -- a flag that indicates how the application was
started (by user, by OLE, by Automation). ( The last parameter custom), It
is provided in the spec to allow for future extensibility without breaking
method signature.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com