Compartilhar via


Excellent tutorial for creating ribbon based addins for OneNote

Malte Ahrens has created a super "how to" guide for creating addins that use ribbon controls for OneNote. It is posted at https://www.malteahrens.com/#/blog/howto-onenote-dev/ - jump over there and check it out!

 Here's an excerpt:

 As with other Microsoft Office applications, you can also create add-ins for OneNote. In OneNote 2007 you wrote add-ins by implementing IOneNoteAddin (see Daniel Escapa’s tutorial – https://blogs.msdn.com/b/descapa/archive/2006/08/31/734298.aspx) and they integrated well with OneNote’s UI, being toolbar based add-ins in a toolbar based UI. With OneNote 2010′s ribbon, however, these ‘toolbar based’ add-ins only show up on a separate Add-Ins tab, and even then only appearing as small icons. Integrating these add-ins with the ribbon / fluent UI is what we want for OneNote 2010, to properly ‘integrate’ them with the UI. This is a tutorial / guide on how to do this.

It has a great step by step guide to creating the addin. Give it a shot and let Malte know what you think!

 Questions, comments, concerns and criticisms always welcome,
John

Comments

  • Anonymous
    February 05, 2011
    For me this demonstrates a significant development barrier for OneNote. I have enormous respect for yours and the OneNote team's efforts, and must thanks Malte enormously for publishing this code and very detailed walkthrough - I highly recommend this post.  The problem lies in the effort required to extend OneNote into what should be a simple "HelloWorld example", ensuring proper Implements, getting the installer to work correctly etc.  Visual Studio as the only entry point for an add-in provides a significant barrier to anyone wanting to extend this fantastic application. Imagine if OneNote had a VBA environment how easy this would be! VBA easily extends Office applications to such a degree that my company of health professionals has fantastic systems that are better than off the shelf software can provide.  So having VBA allows such easy access to application modification that it's the main reason we use MS Office over less expensive alternatives. We'd contend that OneNote would be more attractive to business if VBA was included.  Has there been any discussion on this in the OneNote team?

  • Anonymous
    February 09, 2011
    Brad - this (VBA type support) bubbles up from time to time.  I can pass this along as a request, or you can file it at http://connect.microsoft.com and get votes on it.  Both routes are fine.  Thanks for the feedback!