RETIRED Office and Office 365 dev blog

Follow the current Blogs for Office Developers network at http://blogs.msdn.com/b/officedevblogs

Browse by Tags

Tagged Content List
  • Blog Post: Attaching a File or an Outlook Item to an Outlook Message

    Attaching a file to a Microsoft Outlook mail item is one of the most popular customer actions in Outlook. Naturally, many power users also ask how to do this programmatically. The Outlook object model provides the Attachment object, Attachments.Add method, and an Attachments property for each of...
  • Blog Post: Automating Highlighting of Search Results in an Outlook Message

    Do you know about the new Outlook add-in that automates highlighting of your search string in an email message? The Visual How To, Automating Search Highlighting in Outlook 2010 , provides a real add-in that you can build in Visual Studio and run with Outlook 2010, and that improves your experience searching...
  • Blog Post: How Do I Extend Outlook to Do…

    Frequently we come across the question “How do I extend Outlook to do <a task>”. Depending on how extensive the task is, you might look for your answer in one or more of the following ways: Use a search engine to see if someone has posted a solution to a similar question on...
  • Blog Post: How to Search for a String in an Outlook Email Message and Automate a Reply that Contains the String

    I’d like to demonstrate a technique that helps automating email replies – when creating a reply to a message, search for a specific string, such as a reference number or item number, from the original message; dynamically create a greeting using the search result, and then automatically insert...
  • Blog Post: How to Log On to a Specific Profile in Outlook 2010

    You can use the Outlook object model to log on to a custom MAPI profile or the default profile. When you first start Outlook on a computer, if you would like to programmatically log on to a custom profile (that is different from the default profile), you can use the Logon method of the NameSpace object...
  • Blog Post: Tips for Filtering Items Using Date-time Comparison

    In my recent posting about a time-reporting macro, I mentioned a workaround to have the macro include appointments that fall outside of the normal work hours set in the Outlook Options dialog box. Alert : If you have appointments in your date range that start and end before the beginning of work hours...
  • Blog Post: Improving Outlook Performance (Part II): Video and Sample Add-In to Show Filtering Items in a Folder

    In the Outlook object model, the Table object provides a light-weight row-set that allows fast enumeration and filtering of items in a folder. Each row in a Table corresponds to an item, and each column in the Table corresponds to a property of the item. You can call Folder.GetTable to obtain a Table...
  • Blog Post: Improving Outlook Performance (Part I): Video and Sample Add-In to Show Setting and Getting Multiple Custom Properties

    Microsoft Outlook supports properties for items and folders. For example, a MailItem object has built-in properties such as the To , Subject , and Body properties, and a Folder object has built-in properties such as the Name and CurrentView properties. Developers can create custom properties for items...
  • Blog Post: A Simple Macro to Track Your Time in the Outlook Calendar

    The Scenario Do you sometimes wonder how time slipped by during the work day, and you can’t recall what projects you worked on or how much time you spent on them? I usually record how I spend my time in the Outlook calendar. For example, today, I did the following: · I spent one hour...
  • Blog Post: New Managed Code Examples for Outlook 2010

    With the announcement of Microsoft Office 2010 being released to manufacturing (RTM) today, I’d like to bring your attention to the new Microsoft Outlook 2010 Primary Interop Assembly (PIA) Reference . For those of you familiar with developing managed solutions for Outlook, you now have on MSDN a currently...
  • Blog Post: How to Verify if Outlook is Available on a Computer as a Click-to-Run Product

    Click-to-Run is a software delivery and updating mechanism available to Microsoft Office 2010. Products delivered via Click-to-Run execute in a virtual application environment on the local operating system. This means that they have private copies of their files and settings, and that any changes they...
  • Blog Post: MVP Michael Bauer Contributed a Code Example for a New Outlook 2010 Property

    Michael Bauer * recently contributed a code example that shows a simple but common way to use the new MailItem proeprty, Sender , in Microsoft Outlook 2010. *Michael is a Microsoft Most Valuable Professional with expertise in developing Outlook solutions in Visual Basic and Visual Basic for Applications...
  • Blog Post: Developing Outlook 2010 Solutions for 32-bit and 64-bit Systems

    This post captures and summarizes information about developing an Outlook solution for customers who run 32-bit and 64-bit versions of Outlook 2010. Since developing Outlook solutions is a very broad subject, the article gathers information from various sources, and points to some of these locations...
  • Blog Post: New code samples in the Outlook 2007 Developer Reference!

    MVP Helmut Obertanner contributed two new code samples recently in May: How to: Import Appointment XML Data into Outlook Appointment Objects How to: Obtain and Log On to an Instance of Outlook These code samples are presented in managed code (C# and Visual Basic). They are particularly interesting...
Page 1 of 1 (14 items)