Browse by Tags

All Tags » Outlook (RSS)

All Outlook object model calls run on the main thread

While writing an Outlook addin, lots of people feel that they should try to help with Outlook performance by running their addin code on a background thread. While this can help in some scenarios it can actually make things worse in others, particularly...

Failure creating an Outlook application object on Vista

While creating a Outlook application object from another process in C# like: outlook = new Microsoft.Office.Interop.Outlook.Application(); or powershell PS > $outlook = new-object -com Outlook.Application or straight up COM via CoCreateInstance on...
Posted by puzzlehacker | 5 comment(s)
Filed under: , ,

Why does my Outlook event seem to stop working?

Imagine we have some code in an Outlook addin that looks similar to code below. Does anyone see anything wrong with it? It simply places a button on the menu bar and shows a message box when the button is clicked. The code works for sometime but then...
Posted by puzzlehacker | 5 comment(s)
Filed under: , ,

Retrieving your Outlook appointments for a given date range

Before we dive into the code sample lets take a quick look at what it means for an appointment to fall into a given date range. When you compare an appointment with a given date range (or any two time intervals) there are the 6 possible outcomes displayed...
Posted by puzzlehacker | 6 comment(s)
Filed under: , , ,

How do I access my Outlook contacts from my web application?

Question How do I access my Outlook contacts from my web application? Short Answer You don't, well at least you shouldn't (It is theoretically possible to access Outlook data from a web application, assuming Outlook is installed and the profile...

Windows Live Writer BlogThis macro for Outlook 2007

If you use Windows Live Writer as your blogging tool and Outlook 2007 as your RSS aggregator then you maybe interested in this VBA macro. It will pull the necessary information from the currently selected RSS Item in Outlook and call the Windows Live...
More Posts