Office 365 Developers - Catch up on Outlook APIs in Microsoft Graph

  In Build 2017, i attended good number of sessions virutally, including this one by Venkat Ayyadevara, Program Manager, Outlook EcoSystem about Outlook API’s in Microsoft Graph. In this, you can learn about recent updates in Microsoft Graph for accessing Outlook mail, calendar, contacts and more for millions of commercial and consumer users. You can…


Office Dev: Office 2016 for developers

Last week we announced the release of Office 2016. Next interesting stuff pops in our mind is that what’s new in Office 2016 for the developers. I want to mention few of them here: – New names for apps for Office and SharePoint – I blogged about this earlier, New name for Apps for Office…


MAPI Developer: How to get file properties for .MSG file using MrMAPI tool?

Based on my earlier article, recently I got the below request from MAPIDevil (MAPI developer). Adding the detailed request:  In general, you can do this same stuff with either MFCMAPI utility or ended up by creating customer MAPI application. For this specific scenario again I tried my hands with MrMAPI command-line utility – it’s very…


Calculating file size, free space of any given .PST file with MrMAPI utility

Earlier in my blog, i got the request from one of the MAPI developer to see is there any way we can calculate the file size, free space of any given .PST file. Also he pointed that he can access the PST file using Stephen’s MFCMAPI utility. For this activity, I used Stephen’s another tool…

2

After migration VS 2013 C++ project throws error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.

Like earlier, I was involved in migration of VS 2013 C++ Outlook add-in project which was created in Visual Studio 2010. During the compilation I encountered the following error: In general, CL.exe is Visual Studio Compiler. So it should be in your Visual Studio installation directory. if there is no cl.exe in the directory, then…

2

After migrating to VS 2013 C++ Outlook add-in throws error MSB6006: "CL.exe" exited with formula –1073741515

Recently I tried migrating the C++ Outlook add-in project (https://msdn.microsoft.com/en-us/library/office/ee941475(v=office.14).aspx). This project was created in Visual Studio 2010 and we tried migrating to Visual Studio 2013.  During compilation, I encountered the following error: error MSB6006: "CL.exe" exited with formula –1073741515 The same code compiled, worked successfully in Visual Studio 2010. We haven’t done any changes…


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 a string that is…

1

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 the issue.   During troubleshooting we noticed that these issue may occur…

5

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 Outlook 2013. They are no longer supported and you should not use them in new projects. These API elements are deprecated in this release because of obsolete message…


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 Basic Application Automating Outlook from Other Office…


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 the related articles that are pretty…

1