Call a Method of ComAddIn from Macro still possible with Shim?

Add-in Express™ Support Service
That's what is more important than anything else

Call a Method of ComAddIn from Macro still possible with Shim?
 
Sven Heitmann




Posts: 193
Joined: 2004-08-23
Good Morning,

some days I got the following answer from Eugene
You can create a new public method and then can call it via
WordApplication.COMAddins(ProgIDOfYourAddin).Object.YourNewMethod


This is working perfectly.

However I would like to know if it still works when I add Shims...
Best regards,

Sven Heitmann
Posted 12 Nov, 2004 01:48:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Sven,

Yes, you can still use this code to call the methods of an addin. A shim is just a proxy object between a host and an addin.
Posted 12 Nov, 2004 04:41:14 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
Thank You Sergey =)
Best regards,

Sven Heitmann
Posted 12 Nov, 2004 05:28:46 Top