• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

The Express way, and the road to Redemption…

Slipstick Systems

› Developer › The Express way, and the road to Redemption…

Last reviewed on February 11, 2018     No Comments

In Part 1, we took a brief look at the fundamentals of Outlook programming. This included a quick exploration of the two primary interfaces: the full MAPI framework and the Outlook Object Model (OOM). There was also a summary of the available customization and extensibility capabilities, from custom forms and VBA macros to building COM Add-ins with Visual Studio Tools for Office (VSTO). While going “full Microsoft” can have some advantages, sometimes you have no choice but to look abroad for innovative solutions and tools to solve some major development challenges.

A common complaint with COM Add-ins built with VSTO is that they are not version-neutral. Most versions of VSTO have essentially supported “N-1”, meaning the newest version of Office and the last version of Office. So with Visual Studio 2010, you can build add-ins for Office 2010 and Office 2007. With Visual Studio 2008, there are templates for Outlook 2003 and 2007 add-ins. So there is a loss no matter which version of VSTO you use, and supporting the latest versions of Outlook only is sometimes not practical because there are still millions of installations of Outlook 2003 out there! Another problem with VSTO is deployment. While great strides have been made to simplify getting an add-in to install and be trusted when built with Visual Studio 2010, various deployment quirks regarding security policies or installing for all users still makes using previous versions a bit of a nightmare for many developers.

Thankfully, VSTO isn’t the only tool available out there, and Add-in Express offers an alternative. Add-in Express 2010 for Microsoft Office and .NET provides project templates for Visual Studio 2005, 2008 and 2010 (and even Delphi/VCL) that greatly simplify building COM Add-ins for all Office applications (plus support for Excel XLLs, RTDs and UDFs and even Office Smart Tags). One key advantage with Add-in Express add-ins is that they can be version neutral, so that they run on all versions of Office from 2000 and up. Setup and deployment is also made very easy, and there are a wide variety of wizards and designers for customizing menus, toolbars, Ribbons, Task Panes, forms, windows, options and property pages, etc.

Where Add-in Express really shines is with their Regions technology for Outlook. With VSTO, you can only add custom .NET Windows Forms to Task Panes that can only be docked to four areas. Add-in Express has their own implementation of Task Panes as well for both Explorers (the main Outlook window) and Inspectors (item windows), but allow you to customize thirteen additional areas of an Explorer: the Navigation Pane, Reading Pane (cover it or add a region to all four sides), Folder view pane (cover it or add a region to all four sides), the ToDo bar and the Web View (also known as folder home pages). These regions are even better than VSTO Task Panes in that they can be hidden, resized, minimized, they remember their state and they can be dragged and “drop-docked” to other locations. It’s simply an amazing tool for building captivating and interactive interfaces for Outlook.

For developers who have existing VSTO solution projects and would like to take advantage of these Regions, Add-in Express just recently released Add-in Express Regions for Microsoft Outlook and VSTO. Once installed, developers can simply choose “ADX Region for Outlook and VSTO” in the Add New Item dialog in Visual Studio, step through a wizard that generates some implementation code for you, then start designing.

Aside from all these great development tools for Visual Studio, there are two other essential utilities for programmers and IT Pros alike. The first is Outlook Spy. This tool is really just an add-in for Outlook, but it provides fast and convenient access to all Outlook Object Model objects, lets you examine values of all object properties, directly call functions, browse the object hierarchy and even monitor Outlook events. The tool basically shines at letting us peek under the hood and see what’s going on deep in the depths of Extended MAPI. You can use it as an ad-hoc developer reference, simple code tester or even install it on a customer PC to help find obscure problems that are difficult to trace.

When free is a must, or if installing an add-in or even trial software is forbidden, then the next best thing will have to do. That would be MFCMAPI. As the web description aptly states, “MFCMAPI uses Microsoft's published APIs to provide access to MAPI stores through a graphical user interface. Its purpose is to facilitate investigation of Exchange and Outlook issues and to provide developers with a canonical sample for MAPI development”. It’s essentially a stand-alone application that does just what Outlook Spy does but that some people find is not as intuitive to use.

Lastly, one of the more interesting solutions available for Outlook and Exchange developers is Redemption. Written by the same creator of Outlook Spy (long-time Outlook MVP Dmitry Streblechenko), Redemption is like mixing both OOM and Extended MAPI into one easy to use library. Its inception in 2001 was primarily to give developers a way to code around the Outlook Security Patch that popped up those annoying dialogs to users when code tried to send an e-mail or access the address book, among other things. Since then it has grown to provide a full replacement to CDO (an older API that was similar to OOM and offered some features usually only available with Extended MAPI, but had serious deployment issues) with RDO (Redemption Data Objects). Many developers use Redemption in VSTO or Add-in Express add-in projects to use objects, methods, properties and events not exposed to OOM and usually only possible with MAPI. Redemption is also the only messaging API that’s practical (and supported) to use for building Windows Service Applications that are often used for 24/7 mailbox processing/monitoring, batch operations or synchronization solutions.

So there you have it – one quick walk around the Outlook framework block and a good peek into the toolboxes to see what’s out there. Whatever you use or choose, don’t worry – be MAPI! (yes, I know it’s old…)

More Information

Getting to know OOM, getting to know all about OOM... (Part 1)

The Express way, and the road to Redemption… was last modified: February 11th, 2018 by Eric Legault

Related Posts:

  • Getting to know OOM, getting to know all about OOM
  • Office 365 News from Build 2016
  • Developer Tools
  • Add-ins and Outlook 2013 Click-to-Run

About Eric Legault

An Outlook developer MVP since 2003, Eric has completed several dozen projects using the Outlook/Exchange/SharePoint platforms, from COM Add-Ins to custom Forms, desktop applications and Windows Service applications. When not working, Eric keeps busy building relationships with technical communities via social media and by contributing to online support forums, writing technical articles and editing technical books and speaking at conferences around the world on Outlook and Office development. Eric Legault+

Subscribe
Notify of
0 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 29

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Jetpack plugin with Stats module needs to be enabled.
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
  • New Outlook: Show To, CC, BCC in Replies
  • Insert Word Document into Email using VBA
  • Delete Empty Folders using PowerShell
  • Warn Before Deleting a Contact
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

New Outlook: Show To, CC, BCC in Replies

Insert Word Document into Email using VBA

Delete Empty Folders using PowerShell

Warn Before Deleting a Contact

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

VBA Basics

How to use the VBA Editor

Work with open item or selected item

Working with All Items in a Folder or Selected Items

VBA and non-default Outlook Folders

Backup and save your Outlook VBA macros

Get text using Left, Right, Mid, Len, InStr

Using Arrays in Outlook macros

Use RegEx to extract message text

Paste clipboard contents

Windows Folder Picker

Custom Forms

Designing Microsoft Outlook Forms

Set a custom form as default

Developer Resources

Developer Resources

Developer Tools

VBOffice.net samples

SlovakTech.com

Outlook MVP David Lee

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment