Tagged Content List
  • Blog Post: OUTBOX: Setting ‘Don’t Crawl On Me’ via Outlook’s object model

    A while ago Steve posted information about how to turn of various types of “crawling” in Outlook via named properties that can be set on a store to tell Outlook whether or not it is okay to “crawl” the store in different scenarios.  There are cases where you might have tons of folders in a store...
  • Blog Post: OOM.NET: Like a good standup comic – use scope and have good timing…

    Recently, I was helping someone with a Outlook item leak type issue involving a Task FormRegion.  The symptom was that after opening a task, closing it, and reopening the item they were getting the infamous error message, “COM object that has been separated from its underlying RCW cannot be used...
  • Blog Post: OOM.NET: Some day we’ll look back and laugh at the “Good Ole’ Days of Item Leaks”…

    Misha Shneerson, a senior developer on the VSTO team, has a great post giving us hope in the next version of the .NET framework and the 4.0 CLR.  The feature name Misha uses gives it away, “NOPIA” means no interop assemblies!  …This post is a continuation of my efforts to document common issues...
  • Blog Post: 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 out of scope.  This includes items passed into...
  • Blog Post: 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 don't gain any performance [when multithreading...
  • Blog Post: 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 call GC.Collect here and there - it is important...
  • Blog Post: 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 or can’t be saved in the Outlook UI. A common example...
  • Blog Post: 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 most common issues, how to resolve them, and why...
  • Blog Post: 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 third party APIs or components you write that use...
  • Blog Post: 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 post... Unable to cast COM object of type 'System...
  • Blog Post: 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 929593 The known issues with the Microsoft...
  • Blog Post: 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 previously installed any of the VSTO “v3...
  • Blog Post: 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 the Outlook 2007 code which is done completely...
  • Blog Post: 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 PM. Ryan talks about the backward compatability...
  • Blog Post: 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 owner of that folder?". This is a common question...
  • Blog Post: 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 and the size of the object model has more than...
  • Blog Post: 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 works with Outlook Object Model day in and day...
  • Blog Post: KB: Outlook Object Model Limitations

    ...I added a new category for this post called "KB" which is for noting KB articles that are new or important... The Outlook Object Model does not provide full access to all the features of the application. The following KB article details some of the limitations of the object model. 294869 Description...
  • Blog Post: FYI: How Daylight Savings Time Date Changes affect Scheduling in Outlook Client

    The Exchange Team's Blog has a great post on how certain time zones with variable daylight time shifting affect Outlook... ... Time zones are an important thing to keep in mind when working with appointments. We get cases sometimes related to preceived bugs in CDO 1.21 or Outlook Object Model were...
  • Blog Post: OUTBOX: No Supported Way to Deploy Outlook VBA Projects

    ...I added a new category to the blog, you will see it is called OUTBOX. As a support engineer I send out a lot of mail that could be useful to everyone. You shouldn't have to open a support case just to get this information. So here I'll provide some email excerpts that I think might be helpful... ...
  • Blog Post: FYI: Outlook Object Model Enhancements in Outlook 12

    Ryan Gregg, an Outlook 12 PM, gives an enticing preview of the enhancements and new features of the Outlook Object Model to be available in O12. ...At first glance this is very exciting. I look forward to these changes, improvements, and additions as they seem to hit on a lot of customer requests...
Page 1 of 1 (21 items)