Browse by Tags

Tagged Content List
  • Blog Post: Office Developer: How to programmatically restrict or filter “To” property using Outlook Object Model?

    In this post, we will see how to programmatically filter/restrict items “To” property. Let we take this scenario. In Outlook, we notice it contains 6 items “To” property containing “Deva G”:   Note:In specifying a filter in a Jet or DASL query, if you use a pair of single quotes to delimit...
  • Blog Post: Office Developer : Outlook & VBA Programming # 2

    In addition to previous article, I would suggest you to have a look at the related articles for reference/samples etc: Microsoft Office Outlook 2003 Inside Out 101 VBA samples for Office 2010 VBA for Office developers Office 2003 Editions: Outlook VBA Language Reference Automating Outlook from a Visual...
  • Blog Post: Office Developer : Outlook & VBA Programming # 1

    By using Visual Basic for Applications (VBA), a simple but powerful programming language that you can use to extend Office 2010 applications with new capabilities and automate repeated tasks. I remember VBA is used for a long time in Microsoft Office based applications. I thought to combine the list...
  • Blog Post: Is it possible to download Offline address book via Outlook Object Model API?

    This is one common question from our customers - whether they can programmatically download an Offline address book through the Outlook Object Model or not. The answer is “No”. Offline address book downloads are not exposed through the Outlook object model.
  • Blog Post: Outlook Object Model: How to include usemap attribute programmatically?

    In this post, I will show you how to make use of usemap attribute of img HTML element in HTML emails programmatically. For this, I used Outlook 2010 VBA & Outlook Object Model. You can design the application with C# or VB.Net with Outlook Object Model library as per your wish. We will do this exercise...
  • Blog Post: Outlook Object Model: How to assign a Webpage to a specific Outlook folder programmatically?

    In this post we will see how to assign a web page to a specific Outlook folder programmatically using C# and Outlook Object Model. For this I tried the following sample, which checks for a folder named “HtmlView” in Microsoft Office Outlook. If the folder does not exist, the code creates the folder and...
  • Blog Post: Differences: Outlook Object Model vs Pocket Outlook Object Model

    Recently one of my developer customer (developer of PC and mobile based applications) was asking is there any difference available between Outlook Object Model (OOM) API and Pocket Outlook Object Model (POOM) API? If yes, where it's documented? As you know, the Pocket Outlook Object Model (POOM) API...
  • Blog Post: Outlook 2010: Migrating CDO based application to Outlook Object Model(OOM) library

    Recently one of my developer customer migrated from Outlook 2003 to 2010. He tried running the custom application (uses CDO & Outlook 2003) in Outlook 2010. It throws the error “ActiveX component can’t create object”.  Using the following test sample, I can reproduce the exact issue at my end...
  • Blog Post: Outlook Programming: How to retrieve unread messages from any Outlook folder?

    Recently one of my customer updated that he got a requirement to programmatically retrieve unread messages from any Outlook folder to be implemented part of his application. We tried the following steps -  Will show you how you can programmatically retrieve unread messages from any Outlook folder...
  • Blog Post: Development : Threading with Outlook Object Model?

    Developers do complain when they use multi-threading the Outlook Object Model (OOM) API, it fails or hangs inside and outside of Outlook?  The reason behind this is the Outlook Object Model is not thread safe which means that COM will never allow multiple threads to enter concurrently.  Instead...
  • Blog Post: Outlook Object Model: Handling mailbox items - read or unread - from any folder

    Being Exchange/Office developer, you make use of Outlook Object Model (OOM) API to can handle the mailbox items programmatically and process as per your wish. Let me walkthrough through this sample: 'Declaration block Dim iOut As Outlook.Application Dim iNs As Outlook.NameSpace Dim iFldr As Outlook...
  • Blog Post: KB : Outlook Object Model (OOM) limitations

    I found this knowledge base article which talks about known limitation you may encounter with the Microsoft Outlook Object model. I found this interesting excerpt, “…unlike other Microsoft Office programs that have “full” object models, such as Microsoft Word and Microsoft Excel, the Outlook object model...
  • Blog Post: Can we change the Mouse pointer to an Hourglass in Outlook?

    Many of us want to know whether any options exists to change the Mouse pointer to an Hourglass or custom of their own in Outlook? Per support knowledge base article , “…You cannot control the appearance of the mouse pointer using the Outlook object model. If you are writing code within Outlook that takes...
  • Blog Post: Coding practices : Outlook automation using VB.Net

    You can try when you do programming with VB.Net and Outlook automation: When you start automation code by declaring object variables with a specific object type that represents the top-level object and then declaring any child objects you want to reference. Dim olApp As Outlook.Application ...
  • Blog Post: Download : Outlook 2010 - Developer reference

    If you’re the Office/Messaging developer and use Outlook 2010 beta for developing applications, then this article is for you. Microsoft published Outlook 2010 – Developer reference . These developer references are in HxS format, as opposed to CHM format. It also contain related information about the...
  • Blog Post: Outlook Object Model changes : Outlook 2010 Object Model and its Earlier Versions?

    With respect to my previous blog post , i want to add more information regarding the Outlook Object Model changes. Being Messaging developer, it’s a must for us to understand and keep in-track, Outlook 2010 Object Model changes available since earlier versions. I request you to refer the MSDN article...
  • Blog Post: Where i can find the Macros & Visual Basic Editor in new Microsoft Outlook 2010?

    Couple of Outlook 2010 beta users reported that they can’t find the old VBA (Visual Basic for Applications) and Visual Basic Editor in new Outlook 2010? Whether the feature is removed? With respect to my last blog post , VBA is available with Outlook 2010. Let me explain in-detail. We know about how...
  • Blog Post: Outlook 2010 : Why CDO 1.2.1 not supported with Outlook 2010?

    Collaboration Data Objects (CDO) 1.2.1 is a client library that provides a thin wrapper over Extended MAPI functionality. CDO does not install with Outlook 2010, and is available only as a download. For more information, see Collaboration Data Objects, version 1.2.1 in the Microsoft Download Center....
  • Blog Post: Outlook 2010 : Outlook Object Model enhancements & Changes

    Outlook Object Model Changes Per Randy’s reference , the Outlook object model has new objects, properties, methods, and events that support new Outlook 2010 features programmatically. Other improvements to the object model address frequent developer requests for specific changes to the Outlook platform...
  • Blog Post: Best Practices : How to quit Outlook application after automation from Visual Studio .NET client?

    When you automate a Microsoft Outlook application from Microsoft Visual Basic .NET or Microsoft Visual C# .NET, the Outlook application does not quit when you call the Quit method. You can notice the application is closed, but still if we notice either the application or Outlook is running in behind...
  • Blog Post: Outlook 2007 : How to obtain Proxy addresses using Outlook Object Model (for an ExchangeUser Object)?

    Earlier i had a requirement, how to obtain Proxy addresses for a specific user programmatically'; also they preferred to do this by using Outlook Object Model API. Please Note: The ExchangeUser object does not directly expose the proxy addresses for the user. However, you can use the PropertyAccessor...
  • Blog Post: Outlook Object Model : How to programmatically get logged-in user’s CompanyName in Outlook 2003/2007?

    Recently one of my customer updated that they have a requirement to implement the following logic: 1) Get Contact info from GAL or Address book for the specified contact 2) Get Contact information regarding his CompanyName etc. In the scenario, i provided the following suggestions: If you try Outlook...
  • Blog Post: Custom forms deployment : Where we can publish Outlook Custom forms?

    In Outlook, custom forms are typically published to a forms library so that only one copy of a form is stored on your computer. Individual items contain a Message Class field that indicates which form to use to display the data that is contained in the item. When you publish custom forms to a forms library...
  • Blog Post: Playing with Journal Items & Outlook Object Model # 3

    Reading Journal attachments using Outlook Object Model: This time, i tried to read all the email and their attachments using Outlook Object Model. I used the following code snippet to do this. 'Code Snippet : How to retrieve Outlook attachments using Visual Basic for Application (VBA) Dim omailitem...
  • Blog Post: Playing with Journal Items & Outlook Object Model # 2

    After created couple of journal items in my test lab, i thought this time i want to play around with the Journal items. Also i want to try the following programmatically: 1) iterate all the available journal items 2) Restrict the values with a (if the Lastmodificationtime > ‘23/9/2009’) specific time...
Page 1 of 3 (51 items) 123