S
sorina.negulescu
I created a COM addin with the "Visio add-in and add-on wizard".
I want to load the addin on demand, not when Visio starts up.
With the Visio application, I accomplish this from:
Tools > Trust Center > Addins --> Manage COM addins
After checking the checkbox from the COM Add-ins dialog, the message
box from the OnConnection method pops up, which shows that visio
loaded my addin.
I would like to accomplish the same behavior from the Visio Drawing
control.
I could not find any API in the Visio 2007 SDK for connecting to an
addin.
From the VBA help, it appears that I would have to call comething
like:
Application.COMAddIns(1).Connect
In the Visio SDK for C++ though, there's no COMAddins object (there is
a ComAddins method, that retrieves an IDispatch).
How do I tame this IDispatch into a nice object that I can browse?
Thanks in advance for your help,
Sorina
I want to load the addin on demand, not when Visio starts up.
With the Visio application, I accomplish this from:
Tools > Trust Center > Addins --> Manage COM addins
After checking the checkbox from the COM Add-ins dialog, the message
box from the OnConnection method pops up, which shows that visio
loaded my addin.
I would like to accomplish the same behavior from the Visio Drawing
control.
I could not find any API in the Visio 2007 SDK for connecting to an
addin.
From the VBA help, it appears that I would have to call comething
like:
Application.COMAddIns(1).Connect
In the Visio SDK for C++ though, there's no COMAddins object (there is
a ComAddins method, that retrieves an IDispatch).
How do I tame this IDispatch into a nice object that I can browse?
Thanks in advance for your help,
Sorina