Calling outlook Ribbon button event or a function which is added by another add-in(owned by us, C++ based and non add-in express)

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

Calling outlook Ribbon button event or a function which is added by another add-in(owned by us, C++ based and non add-in express)
Calling Ribbon button event or a function from another add-in(owned by us, C++ based and non add-in express) in new Add-in express ooutlook plugin 
Omkar Deshpande


Guest


I am developing new Outlook add-in using add-in express, in which I am adding a button in form region of mail compose inspector. I am using c# as the development language. I want to call a function or button(added in mail compose inspector ribbon) click event which is part of another outlook plugin from my new add-in. The other outlook add-in is also owned by us and is developed using C++. So if code changes needed in other outlook add-in code, that should not be an issue.
Please let me know how I can achieve this?

One more question:
Can we use add-in express in already developed add-in(c++ based) to add new form region? If yes, please let me know if there is any tutorial on this.

Thanks,
Omkar
Posted 05 Sep, 2019 02:54:50 Top
Andrei Smolin


Add-in Express team


Posts: 18817
Joined: 2006-05-11
Hello Omkar,

Omkar Deshpande writes:
I want to call a function or button(added in mail compose inspector ribbon) click event which is part of another outlook plugin from my new add-in.


The second add-in should provide a public method/property that your C# add-in accesses using this pathway:

OutlookApp.COMAddins.Item(strMyComAddinProgId).Object.MyPublicPropertyOrMethod.

1. strMyComAddinProgId - see the ProgId attribute of your add-in module.
2. MyPublicPropertyOrMethod is called via late binding (see System.Type.InvokeMember in MSDN or search through our forums)

See also http://www.add-in-express.com/creating-addins-blog/2010/07/02/standalone-application-addin-communicate/.


Omkar Deshpande writes:
Can we use add-in express in already developed add-in(c++ based) to add new form region?


This must be an Add-in Express project written in managed C++ to allow doing this.


Andrei Smolin
Add-in Express Team Leader
Posted 05 Sep, 2019 03:35:42 Top