Browse by Tags

All Tags » DevMsgTeam » Outlook Object Model   (RSS)
Showing page 1 of 3 (30 total posts)
  • Microsoft Office 2010 beta is available to download

    I am very excited to share that Microsoft announced the public beta release of Office 2010, SharePoint Server 2010, Visio 2010, Project 2010, Office Web Apps for business customers, and Office Mobile 2010. If you are developing application based on Outlook; then here are few links related to developing applications for Outlook 2010: What's New for Developers in Outlook 2010 Programming the Outlook 2010 Solutions Module Extending the User Interface in Outlook 2010 If you are looking for resources
    Posted to Brijs Blogging... Looking Beyond the Obvious (Weblog) by brijs on November 19, 2009
    Filed under: DevMsgTeam, Outlook Object Model, Download, FYI, Outlook 2010
  • 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 and you don’t want Outlook to enumerate all these folders because it would impact performance.  I was recently asked if these properties could be set via a simple VB script.  Turns out it is
    Posted to mstehle: The CDOs and CDONTS of Messaging Development (Weblog) by mstehle on July 24, 2009
    Filed under: Outlook Object Model, OUTBOX, DevMsgTeam
  • Remove all PST from the Outlook Mailbox using VBScript

    If you would like to remove all of the Personal Folders file .PSTs attached to the Outlook Mailbox profile then we can use RemoveStore Method. Here is a sample VBScript to perform the job for us: NOTE: Following programming examples is for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This sample code assumes that you are familiar with the programming language being
    Posted to Brijs Blogging... Looking Beyond the Obvious (Weblog) by brijs on May 6, 2009
    Filed under: DevMsgTeam, How to, Outlook 2007, Outlook 2003, VBA, Outlook Object Model, VBScript
  • 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.”  They were familiar with some of the issues discussed here and knew to call ReleaseCOMObject() on objects as they were done with them.  However, that is the only part of proper Outlook coding
    Posted to mstehle: The CDOs and CDONTS of Messaging Development (Weblog) by mstehle on February 17, 2009
    Filed under: Outlook Object Model, OOM.NET, DevMsgTeam, VSTO
  • 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 I’ve seen when .NET programmers write solutions with Outlook’s object model – be they separate executables, VSTO Add-ins, or Outlook FormRegions. To see all the posts in this series check out my
    Posted to mstehle: The CDOs and CDONTS of Messaging Development (Weblog) by mstehle on February 17, 2009
    Filed under: Outlook Object Model, OOM.NET, DevMsgTeam
  • Issue: Unable to set recurrence pattern of an appointment or a meeting as every weekday using Outlook Object Model

    The only available recurrence patterns to set from OOM are as below: olRecursDaily = 0, olRecursWeekly = 1, olRecursMonthly = 2, olRecursMonthNth = 3, olRecursYearly = 5, and olRecursYearNth = 6. Though we can set every weekday recurrence pattern using UI, Outlook object model does not expose any method to create the pattern as Every Weekday. So, We could use "DayOfWeekMask" to workaround the issue; We found that the mask value is set to 62 on item when we set the recurrence pattern as Every Weekday
    Posted to Brijs Blogging... Looking Beyond the Obvious (Weblog) by brijs on December 12, 2008
    Filed under: DevMsgTeam, How to, C#, Outlook 2007, Workaround, Issue, Problem, Outlook 2003, VBA, Outlook Object Model
  • Misha Shneerson : COM Interop: Handling events has side effects

    Misha, a Senior Dev on the VSTO team just posted this blog describing why handling events in managed code can be problematic. This is not news to our team, but he provides a good explanation of why it’s problematic. Misha Shneerson : COM Interop: Handling events has side effects If any of what he says sounds familiar, it’s because our own Matt Stehle has been talking about this for a while .
    Posted to Wiz/dumb (Weblog) by pcreehan on October 22, 2008
    Filed under: Outlook, VSTO, Outlook Object Model, Outlook 2007, .NET, DevMsgTeam
  • Outlook Automation is for People, not for Services.

    I don't know why we see a lot of customers trying to automate Outlook from a service. It’s pretty well documented that it’s a bad idea. Outlook Object Model (OOM) was written for automating Outlook for a user sitting at the box running it. See, Outlook is very personal and I do mean, it’s very, very personal. Outlook and OOM are as much about being client side as any application with an associated API can be. They will throw-up dialogs for warnings and errors… they will ask you for input based-upon
    Posted to Dan's WebDAV 101 (Weblog) by danba on September 29, 2008
    Filed under: OOM, outlook object model, web service, .net, com+, DevMsgTeam, automation, security dialogs, serviced component, asp, automate outlook, pop-ups, popups, asp.net, service, webdav101blog
  • 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 event handlers.  Take the ItemSend event for example... // This leaks 'Item' void app_ItemSend( object Item, ref bool Cancel) { } // This does not leak... void app_ItemSend( object Item, ref bool
    Posted to mstehle: The CDOs and CDONTS of Messaging Development (Weblog) by mstehle on June 12, 2008
    Filed under: Outlook Object Model, Outlook General, OOM.NET, DevMsgTeam
  • 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] because all the calls are going to run on the same thread anyway and you incur the overhead hit of doing the marshaling to begin with, so there's not really an advantage to multithreading Outlook
    Posted to mstehle: The CDOs and CDONTS of Messaging Development (Weblog) by mstehle on March 14, 2008
    Filed under: Outlook Object Model, OOM.NET, DevMsgTeam
1 2 3 Next >

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker