This project has moved and is read-only. For the latest updates, please go here.

Is shared add-in possible?

Aug 25, 2014 at 7:42 AM
Is it possible to develop an add-in that can work with multiple office products? For example single add-in for Outlook , Excel , Word and PowerPoint.
Aug 26, 2014 at 10:49 PM
Of course its possible.

You can find an example in the download package: "\Examples\Misc\C#\COMAddin Examples" called "Super Addin".
This sample Addin works in Excel, Word, PowerPoint, Outlook, Access and MSProject.

The solution contains 2 projects:

1) The known Shared-Addin way
2) Using the NO Tools layer

Marked as answer by praful_hunde on 3/16/2015 at 11:02 AM
Mar 16, 2015 at 7:17 PM
I checked "Super Addin". It is wonderful to see a common add-in for all office apps.
I still could not understand about second sample Using the NO Tools layer.
I did not understand the purpose or usefulness of this.
I also did not see any UI for that. Could you please tell me about it?Thanks.
Mar 17, 2015 at 3:23 PM
hey men,

hmm.. its hard to explain because i dont know your experience level....

the "normal" way to create an addin is to implement the IExtensibility2 interface.
make it com visible and register for com interop, create register/unregister methods and hope it works well.
in fact: you have to write a lot of infrastructure code to create and empty addin. moreover you have to know
a lot of small things about office developement... all the details.

the NO Tools for addins is a top-of wrapper, basicly the base class COMAddin. all common infrastructure tasks for addins is implemented here
and waiting for your command. the whole idea: inherite from COMAddin and just setup some attributes. thats all. (VSTO does basicly the same under the hood)
(of course, annotations are sweet poison, easy to use at design-time, but no control at runtime. NO Tools spend also all possible control at runtime. in this case, you have to override some virtual methods)

the super addin example is very minimalistic. please checkout one of the extended addin examples(may excel\examples\COM addin examples)
to learn more about how you create your ribbon ui or taskpane and anyone else.

a real object-based ui layer like vsto(incl. a visual designer) is planned in NetOffice 1.8 for some selected office applications(excel/outlook) and completly for all in NetOffice 2.0. This is what i currently work for.