Outlook 2010 Addin Development (for dummies)

Chief Avocado
Chief Avocado used Ask the Experts™
on
I have a old Outlook 2003 Addin that uses mapiprop.dll.  The Addin allows me to select some mail and than send certain key value extracted from the messages to my anti-spam setup.  This re-trains  the ham/spam as required.

The Addin can be made to work with Outlook 2007 if registered mapiprop.dll manually.

I believe this method is known as a 'com shim' and is unlikely to work with Outlook 2010.

I'm no developer, but fancy having a tinker with making a new implementation of the addin for Outlook 2010.  I have the original source to play with.

Where do I start for making such an Addin for Outlook 2010?
Can you suggest some examples to start with?


If you're super interested, then the code is here (which is part of the Dspam Opensource Outlook Plugin)
(As an admin for Dspam any code I make would be passed back to the Opensource project)

http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=tree;f=contrib/OutloukAddin;h=b5df139814a491d71ebf95104f24170d33df84d8;hb=HEAD


Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Software Engineer
Top Expert 2009
Commented:
Is your plan to support Outlook 2010 only?
If so, then you need to use VSTO, check:
General intro:
http://msdn.microsoft.com/en-us/vsto/dd162450.aspx
Sample code for Outlook add-in 2007 (but still the same for 2010)
http://msdn.microsoft.com/en-us/vsto/ee620548.aspx
VSTO blogs:
http://blogs.msdn.com/vsto/

I may be able to help you in 2-3 weeks time (depending on workload).
Chief AvocadoChief of Problem Avocado's

Author

Commented:
Hi mas_oz2003,

Your help over at Dspam would be greatly appreciated.

The Plugin currently work on 2003, and with a manually registering the .dll it works on 2007.  From what I'm told we need a serious re-write for working on 2010.

Many thanks for you answer, please contact me again when you have some spare time.
Miguel OzSenior Software Engineer
Top Expert 2009

Commented:
I will contact you at sourceforge in 2 weeks time.
Cheers,

Miguel
P.S. In the mean time, please start thinking about the following issues:
- VSTO requires a digital certificate (we can generate a temp certificate and it will work but it is not given by a trusted source)
- Is this development targeting Office 2010 only or 2007/2003? VSTO can not target multiple versions but it requires more work to get around that inconvenience. (the problem is COM, because Office interop works with COM)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial