Browse by Tags

Tagged Content List
  • Blog Post: Outlook Dev: Algorithms to calculate the Store Hash Number and encode EntryID, AttachmentId

    In MSDN, I came across the following two posts as part of Store API which talks about two algorithms that Microsoft Office Outlook uses, Algorithm to Calculate the Store Hash Number to calculate a store hash number based on the store mapping signature or entry ID and the store file name… Algorithm to...
  • Blog Post: Outlook Programming : How to get the SMTP Address of the Sender of a Mail Item using Outlook Object Model?

    Recently I was assisting an developer who used Outlook Object Model (OOM) API and tried to get the SMTP address of the Sender of a given mail item. In order to get the values, he first made the following OOM call – it worked fine for him for couple of mail items, but fails to get the SMTP value as given...
  • 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: Outlook : How to regenerate free/busy information using MFC MAPI?

    Recently one of my customer reported that Outlook is not showing latest free/busy information for selected users. Initially they tried the following steps for the affected users: Exit Outlook Open Command prompt > Open Outlook with cleanfreebusy switch (outlook.exe /cleanfreebusy) It failed to resolve...
  • Blog Post: MAPI Developer: API elements deprecated in Outlook 2013

    Are you an MAPI developer? Then, this article is targetted for you. The API elements (like, IXPLogon::RegisterOptions, OPTIONDATA, OPTIONCALLBACK, IMAPISession::MessageOptions, IMAPISession::QueryDefaultMessageOpt, IAddrBook::RecipOptions, IAddrBook::QueryDefaultRecipOpt)  are deprecated in Microsoft...
  • 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: Troubleshooting: Outlook Social Connector Provider error codes

    Outlook Social Connector providers should return errors to the caller. Please note that Success, warning, and error values are returned by using a 32-bit number that is called a result handle, or HRESULT. An HRESULT is not a handle to anything; it is merely a 32-bit value that has several fields encoded...
  • Blog Post: Outlook 2010 Developer Series: Developing a Real Outlook Social Connector Provider

    The Outlook Social Connector is a set of new features to help keep track of your friends and colleagues while enabling you to grow your professional network. The Outlook Social Connector is available now as part of the Microsoft Office 2010. The Outlook Social Connector (OSC) brings social views of your...
  • 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 Object Model 2010: Programmatically check whether the search is synchronous or not?

    In Outlook 2010, you have a way to check whether the search is synchronous or asynchronous or not. Just created a small code snippet (below) for the reference – you can notice that I just call the application.IsSearchSynchronous() and pass the look in folder which want to try. The path name of the folders...
  • Blog Post: Outlook 2007: How to ‘quickly’ disable add-ins?

    Try the following steps to disable add-ins in Outlook 2007 (it also applies to InfoPath 2007, Project 2007 and Visio 2007) On the Tools menu, click Trust Center. In the categories pane, click Macro Security. In the details pane, select No Warnings and Disable All Macros or Warnings for signed macros;...
  • 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: Why using Custom Outlook forms and HTTP scenarios not recommended?

    In Outlook, custom Outlook forms are not supported for use with HTTP-based mail services (such as Microsoft Hotmail). Outlook does not prevent you from using custom form features if you are using an HTTP-based mail service. However, some features do not work correctly. The features do not work correctly...
  • 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: 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: Developer : Does Exchange Client Extension (ECE) deprecation matters me?

    Per Randy’s blog post , Exchange Client Extension (ECEs) deprecation does (for Outlook 2010) matters the developers. For more information please refer the excerpts of the blog post: “For most Outlook users, this announcement will not concern you. However, if you are a developer that uses Exchange Client...
Page 1 of 4 (76 items) 1234