Customising the default icon of an Office Add-in for Outlook

Symptoms When you install an add-in from the Office store, it will come with a predefined set of icons. Depending on your organisation’s needs, you might need to change those. More Information The icons Outlook will display are defined in the add-in manifest, which you can extract using Fiddler. You would need to locate the…

0

Outlook behaviour when accessing data in a corrupt data file (.pst or .ost)

In Outlook 2010 and previous versions, when making a call to access data in an Outlook store, programmatic calls to access data would result in errors if the data file (.pst or .ost) was corrupt. Developers were thus able to handle the exceptions and continue the execution,   In Outlook 2013, this behaviour changed and…

0

Outlook’s slow add-ins resiliency logic and how to always enable slow add-ins

Overview This post explains how to deploy registry settings that would force Outlook to always load a specific add-in. The information in this post only applies to slow (VSTO) add-ins in Outlook 2013 or higher.  If Outlook disables your add-in to prevent a crash, this blog post isn’t for you. EDIT: This logic now applies…

21

Configuring and managing Outlook’s Autocomplete Cache

Overview Outlook cannot be configured for selective (criteria based) caching of entries in the autocomplete stream. In addition, individual entries cannot be removed by standard programmatic means. Individual entries can be removed manually using the Outlook client. More information The autocomplete stream is a set of recipient property rows that are saved as a binary…

0

PowerShell: Deploying Outlook ribbon customisations

The Outlook ribbon can be customised by users, and any such changes are stored in an Xml file in the user’s AppData folder (by default, this will be %LocalAppData%\Microsoft\Office – though this can be changed to roaming AppData using a registry key).  Sometimes a company may want to have specific functionality (or custom functionality) available…


Certain Unicode characters are replaced with question marks for text properties set using UserProperties.Add

SYMPTOMS When trying to retrieve text UserProperty values via the Outlook Object Model from signed or encrypted messages, if the values contain extended Unicode characters, you will notice that certain characters are replaced by the question mark “?” symbol. For example, you use the following code to create a UserProperty object named myUserProperty. You then…

0

MAPI Utility to add Ldap Address Books to existing Outlook profiles

Current version: 1.0.0.4   I’ve had quite a few requests recently for a tool that can configure Ldap (Internet) Address Books in existing Outlook profiles. Since I don’t know of any tool to do this except for the good ole PRF import, I’ve decided to write some code for posterity. Unlike the PRF import, this…

14

PowerShell: Apply Retention Policies or Auto-Archive Settings to Inbox sub-folders

This week I’ve been spending some time in reviewing how Exchange Retention Policies and Outlook Auto-Archive setting are stored in a user mailbox.   If you’re wondering whether to start using Outlook Auto-Archive or the Exchange Retention policy I would like to call out some differences.   How important is enterprise data? If the answer to this…

3