SelAromDotNet

A professional .NET developer, educator, creative technologist, electronic musician, and sci-fi/horror nerd.

  • Dev

  • April 22, 2012

As I mentioned last time, I was inspired by Wunderlist to expand my developer skillset by learning how to create an Add-in for Outlook that would let me display and manage tasks. Although the functionality of the add-in is important, it was really more of an excuse to see if I could do it.

However, I had a difficult time just finding relevant and useful information on just how the heck you do this. I searched for hours on MSDN, as well as general searching on the internet for variations of "how to create an outlook add-in" that yielded pretty useless results.

So this blog post is meant to list some of the helpful resources I WAS able to find, as well as some of the things I learned along the way.

Here are some sites I found particularly useful to piece together what exactly I needed to do to get started.

Ribbon Type

Probably the part that gave me the most trouble was figuring out how to get the Custom Task Pane to show up in the Main Outlook window, as opposed to being attached to an Email, Task, Contact, etc., window. By default, Outlook attaches your pane to an email message. This means that the Ribbon item for the Add-in would only show up when you double-click an email and open it in its own window.

It was only by accident that I stumbled on the RibbonType property. If you select the actual Ribbon in the designer, there is a property which lets you change where the ribbon is attached.

OutlookRibbonType

By changing it to Microsoft.Outlook.Explorer my ribbon FINALLY appeared on the main Outlook ribbon and I could FINALLY actually test the damn thing.

WunderLook

So enough of the back story, my next post will take a closer look at what I've done with the add-in (not much) and how you can download it yourself from Codeplex. It's pretty early and rough, not documented or tested. So in other words, it's your typical Codeplex project :D