Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Outlook Object Model   (RSS)

OOM.NET: Part 5 - Event Planning

Plan For What You Can Control One of the common scenarios in OOM programming in managed code that required calling GC.Collect() was handling events.  As has been discussed earlier in this series, item references need to be released before they go

OOM.NET: Part 4 - Don't Thread On Me

Patrick posted a discussion of multithreading with Outlook Object Model and why it doesn't help to make OOM calls on a seperate thread... "Outlook Object Model is run in a STA COM server. This means that all OOM calls are executed on the main thread...You

OOM.NET: Part 3 - Back to the Basics, MSDN Must Reads

The Outlook Developer Reference on MSDN has great information on .NET and COM interop which I would consider a prerequisite to any managed code development with Outlook Object Model. It simply isn't enough to know how to accomplish tasks with OOM or to

OOM.NET: Part 2 - Outlook Item Leaks

Outlook item leaks are the most common OOM with .NET issues that we see and I’ve debugged enough of them to compile this list of the four basic mistakes that contribute to item leaks. An “item leak” is most commonly seen as an item that won’t refresh

OOM.NET: Part 1 - Introduction and Why Events Stop Firing...

OOM.NET is not a special API set that was created in managed code.  It is the name I've given to a series of posts I'll do about the “gotchas” of Outlook Object Model development in .NET.  I've compiled some notes over time of the

HOWTO: Delete Search Folders and Interop with CDO 1.21 from Managed (.NET) Code

The Outlook 2003 Object Model does not have anyway to delete Search Folders, although you can create them. The only way to delete them is to use CDO 1.21 code. However, it is not supported to run CDO 1.21 or MAPI code (yes, this includes Redemption any

FYI: COM Interop Changes in .NET Framework 2.0 and Outlook Object Model

If you have seen the error below when using objects from OOM in .NET 2.0 code then the information that Mason posted recently will explain a lot. The key to avoiding this error is to use the interfaces in OOM not the CoClasses. Mason explains why in his

KB: New Outlook 2007 Development KB Articles...

With new versions of the product come new KB articles, make sure to take a look at this as you begin Outlook 2007 development... 929592 Known issues with developing Office Outlook 2007 form regions http://support.microsoft.com/default.aspx?scid=kb;EN-US;929592

FYI: Want to build VSTO AddIns for Office 2007? VSTO 2005 SE Download Available Now!

VSTO 2005 SE is a free download for Visual Studio 2005 Tools for Office AND Visual Studio 2005 Professional that will allow you to build VSTO AddIns for Office 2007 applications. Note if you installed the CTP this summer... " VSTO “v3” CTP users: If you

FYI: KC Lemson On Viewing Internet Headers of Mail Messages...

This post by KC Lemson provides some good sample code to view the internet headers of mail messages in Outlook but also illustrates the huge advantage the Outlook 2007 object model provides with the PropertyAccessor object. Notice the differences between

OUTBOX: Understanding the Exchange store and CDO 1.21

This is from an email I send out this morning after a discussion about CDO 1.21 and the Exchange store structure in Exchange 2000/2003... Understanding the Exchange store and messaging APIs The following article gives a great overview of how MAPI and

FYI: UPDATE COM AddIns in Outlook 2007

If you have COM AddIns written in Outlook 2003 and earlier that you want to know what we are doing to have them run in Outlook 2007 as well or you are going to write an AddIn for Outlook 2007 then you should read this post by Ryan Gregg who is an Outlook

HOWTO: Determining the Owner of a Shared Folder

The Outlook 2003 Object Model does not have much support for shared folders outside the GetSharedDefaultFolder function. One common question we get asked is, "Given an OOM MAPIFolder object that represents a shared folder, how can I determine who's the

FYI: New Look Into the Future of Outlook Development (Outlook 2007 Preview Docs Released)

The Office 2007 Product teams have begun posting public information on the new Office suite including the Outlook 2007 team giving an overview of what is new for developers in Outlook 2007… “…Outlook 2007 object model includes more than 85 new objects

KB: Frequently asked questions about custom forms and Outlook solutions

Since joining the Messaging Developer Support team last year, my main focus has been on Exchange development, rather than custom forms and Outlook programming. There are many "gotchas" in Outlook development that one must keep track of. Only someone who
More Posts Next page »
 
Page view tracker