<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Office Client Developer Content and Resources : how do I</title><link>http://blogs.msdn.com/officedevdocs/archive/tags/how+do+I/default.aspx</link><description>Tags: how do I</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Developing Outlook 2010 Solutions for 32-bit and 64-bit Systems</title><link>http://blogs.msdn.com/officedevdocs/archive/2009/11/25/developing-outlook-2010-solutions-for-32-bit-and-64-bit-systems.aspx</link><pubDate>Wed, 25 Nov 2009 11:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9928738</guid><dc:creator>angelgolfer</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/officedevdocs/comments/9928738.aspx</comments><wfw:commentRss>http://blogs.msdn.com/officedevdocs/commentrss.aspx?PostID=9928738</wfw:commentRss><wfw:comment>http://blogs.msdn.com/officedevdocs/rsscomments.aspx?PostID=9928738</wfw:comment><description>&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT size=3 face=Calibri&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;This post captures and summarizes information about developing an Outlook solution for customers who run 32-bit and 64-bit versions of Outlook 2010.&amp;nbsp;Since developing Outlook solutions&amp;nbsp;is a very broad subject, the article gathers information from various sources, and points to some of these locations for further details.&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;Bitness Compatibility Between Windows and Office 2010&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Let’s first talk about the compatibility of the bitness of Windows, Microsoft Office, and Microsoft Outlook. The term “bitness” refers to the distinction between 32-bit and 64-bit processor architectures and the associated compatibility of applications. In this blog, “bitness” is used to qualify the version of Windows, Office, Outlook, or an application built to suit a 32-bit or 64-bit processor architecture of a computer. Each Office 2010 application is available in a 32-bit version and 64-bit version. For Outlook 2010, the bitness of Outlook depends on the bitness of Windows and the bitness of any other Office application that is already installed on that computer. Here are the dependencies:&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;On a 32-bit Windows operating system, you can only install 32-bit Office (and 32-bit Outlook).&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;On a 64-bit Windows operating system, you can install either 32-bit Office (and 32-bit Outlook), or 64-bit Office (and 64-bit Outlook). The default installation of Office 2010 on 64-bit Windows is 32-bit Office (and 32-bit Outlook).&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l0 level1 lfo1" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;If some other Office 2010 application is already installed on a computer, then the bitness of Outlook 2010 that you will install must be consistent. For example, if a 32-bit Excel 2010 is already installed on a computer, you can only install 32-bit Outlook 2010 on that computer. Similarly, if a 64-bit Word 2010 is already installed on a computer, then you can only install 64-bit Outlook 2010.&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;Default Installation Locations&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;The following are the default installation locations when you install Office 2010:&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l2 level1 lfo2" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;For a computer running 32-bit Windows, typically the location is C:\Program Files\Microsoft Office\Office14\. &lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l2 level1 lfo2" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;For a computer running 32-bit Office on 64-bit Windows, typically the location is C:\Program Files (x86)\Microsoft Office\Office14\. &lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l2 level1 lfo2" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;And, for a computer running 64-bit Office, typically the location is C:\Program Files\Microsoft Office\Office14\.&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;Major Categories of Outlook Solutions&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Outlook solutions fall into a few major categories:&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l3 level1 lfo3" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Add-ins written in managed languages (such as C# or Visual Basic), or standalone applications and add-ins written in unmanaged languages (such as C++ or Visual Basic 6.0). Note that Microsoft no longer supports Visual Basic 6.0.&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l3 level1 lfo3" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Macros written in Visual Basic for Applications (VBA).&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l3 level1 lfo3" class=MsoListParagraph&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Messaging API (MAPI) applications written in typically C++.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;The following sections describe the issues that developers of each category of Outlook solutions have to be aware of when planning the availability of their solutions for Outlook 2010.&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;Managed Add-ins,&amp;nbsp;and Unmanaged Applications and Add-ins&amp;nbsp;for Outlook&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Basically, the way to call the Outlook object model remains the same*, regardless of whether the add-ins are going to be run on a 32-bit or 64-bit version of Outlook 2010.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;You do not need to recompile existing (32-bit) managed or unmanaged add-ins, if you expect the add-ins to continue to run only on computers with 32-bit Outlook installed.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;In particular, for existing managed add-ins, make sure that you have built them using Microsoft Visual Studio Tools for the Microsoft Office system 3.0, or Microsoft Office development tools in Visual Studio 2010, with the &lt;B&gt;Any CPU&lt;/B&gt; option for target platform on the &lt;B&gt;Build&lt;/B&gt; tab of the &lt;B&gt;Project Properties&lt;/B&gt; dialog box. Add-ins built with such settings work for (both 32-bit and) 64-bit versions of Office 2010. If you used other settings, rebuild your managed add-ins using the specified settings so that they will run on computers with either 32-bit or&amp;nbsp;64-bit Outlook 2010 installed.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Any existing unmanaged, standalone application (in .exe) that runs outside of the Outlook process written for 32-bit Outlook does not require recompilation for 64-bit Outlook, as long as the application interacts with Outlook using the Outlook object model and not MAPI. (For MAPI applications, see the section “MAPI Applications for Outlook” below.) COM manages the marshaling from the 32-bit application to 64-bit Outlook.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;However, if you expect any existing unmanaged add-in&amp;nbsp;will be run on computers with 64-bit Outlook 2010, you must recompile the add-in for 64-bit Outlook 2010. To clarify, you will have one version of the add-in to run on 32-bit Outlook, and another version of the add-in to run on 64-bit Outlook. Because there is no 64-bit Visual Basic 6.0 runtime, existing unmanaged add-ins written in Visual Basic 6.0 targeting to run on 64-bit Outlook 2010 should be rewritten, for example, as a managed add-in in Visual Basic.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;*Note that even though you make calls the same way if you are targeting an add-in to run on 32-bit Outlook 2010 vs 64-bit Outlook 2010, there are changes in the Outlook 2010 object model such that, if you adapt an existing add-in to use the object model of Outlook 2010, you must be aware of the following:&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 0pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraphCxSpFirst&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-bidi-font-style: italic"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-weight: bold; mso-bidi-font-style: italic"&gt;Object model calls in previous versions of Outlook were based on the assumption that there was only one Exchange account per profile. This assumption is not correct in Outlook 2010, since there can be multiple Exchange accounts per profile.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="TEXT-INDENT: -0.25in; MARGIN: 0in 0in 10pt 0.5in; mso-list: l1 level1 lfo4" class=MsoListParagraphCxSpLast&gt;&lt;SPAN style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol; mso-bidi-font-weight: bold; mso-bidi-font-style: italic"&gt;&lt;SPAN style="mso-list: Ignore"&gt;·&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-weight: bold; mso-bidi-font-style: italic"&gt;Existing add-ins that modify a command bar or use &lt;B&gt;Application&lt;/B&gt; events for shortcut menus may not work as expected in Outlook 2010. Update these add-ins to use the Office Fluent user interface extensibility. For more information, see &lt;A href="http://msdn.microsoft.com/en-us/library/ee692172(office.14).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ee692172(office.14).aspx"&gt;Extending the User Interface in Outlook 2010&lt;/A&gt;.&lt;B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;VBA Macros for Outlook&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;If you have existing macros written for (32-bit) Outlook, and you intend to allow users to run the macros on 64-bit Outlook 2010, you will have to recompile the macros using Visual Basic for Applications 7.0 (VBA 7), and use conditional compilation to assure backward compatibility as well as compatibility with 64-bit Outlook. You will need to update any Declare statements, as well as address pointers and window handles in user-defined types used by Declare statements. If your macros use any ActiveX controls, these ActiveX controls will have to be updated for 64-bit Outlook as well. For more details, see &lt;A href="http://msdn.microsoft.com/en-us/library/ee691831(office.14).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ee691831(office.14).aspx"&gt;Compatibility Between the 32-bit and 64-bit Versions of Office 2010&lt;/A&gt;.&lt;B&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/B&gt;&lt;/P&gt;
&lt;H1 style="MARGIN: 24pt 0in 0pt"&gt;&lt;SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;FONT color=#365f91&gt;&lt;FONT face=Cambria&gt;MAPI Applications for Outlook&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/H1&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;If your existing 32-bit MAPI application is going to be running on a computer with 64-bit Outlook installed, you will need to rebuild your 32-bit application as a 64-bit application. Outlook 2010 provides a set of MAPI header files that support MAPI applications to work with both 32-bit and 64-bit Outlook 2010. Make sure you download these header files from &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=f8d01fc8-f7b5-4228-baa3-817488a66db1&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=f8d01fc8-f7b5-4228-baa3-817488a66db1&amp;amp;displaylang=en"&gt;&lt;FONT color=#0000ff&gt;Outlook 2010: MAPI Header Files&lt;/FONT&gt;&lt;/A&gt; and rebuild your MAPI application using these header files.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;In general, the bitness of the MAPI application must be the same as the bitness of the MAPI subsystem on the computer that the application is targeted to run on. The bitness of the MAPI subsystem, in turn, is determined by and always the same as the bitness of the installed version of Outlook. So if you plan to develop a MAPI application that will be run on computers with either a 32-bit or 64-bit version of Outlook 2010 installed, you will need to build two separate versions of the application, one to work with 32-bit Outlook and one to work with 64-bit Outlook.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;For more information about MAPI support for 64-bit Outlook, see &lt;A href="http://msdn.microsoft.com/en-us/library/dd941355(office.14).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd941355(office.14).aspx"&gt;Building MAPI Applications on 32-Bit and 64-Bit Platforms&lt;/A&gt;.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Aside from rebuilding MAPI applications, sometimes it's necessary to check the version of Outlook to ensure that a MAPI application calls API elements that are supported by the currently running version of Outlook.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;To learn how to check the version of Outlook and whether the installed version of Outlook is 64-bit Outlook 2010, see &lt;A href="http://msdn.microsoft.com/en-us/library/dd941331(office.14).aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/dd941331(office.14).aspx"&gt;How to: Check the Version of Outlook&lt;/A&gt;. &lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;Also, to learn how to decipher Outlook version information and the expected values for different parts of a version string for certain released versions of Outlook, see &lt;A href="http://support.microsoft.com/kb/870929" target=_blank mce_href="http://support.microsoft.com/kb/870929"&gt;How to determine Outlook version information&lt;/A&gt;.&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9928738" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Office+developer+documentation/default.aspx">Office developer documentation</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/developer/default.aspx">developer</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/MAPI/default.aspx">MAPI</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Outlook/default.aspx">Outlook</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/VBA/default.aspx">VBA</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/how+do+I/default.aspx">how do I</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/managed+code/default.aspx">managed code</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Outlook+2010/default.aspx">Outlook 2010</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Outlook+version/default.aspx">Outlook version</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/32+bit/default.aspx">32 bit</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/64+bit/default.aspx">64 bit</category></item><item><title>New code samples in the Outlook 2007 Developer Reference!</title><link>http://blogs.msdn.com/officedevdocs/archive/2009/05/14/new-code-samples-in-the-outlook-2007-developer-reference.aspx</link><pubDate>Thu, 14 May 2009 19:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617420</guid><dc:creator>angelgolfer</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/officedevdocs/comments/9617420.aspx</comments><wfw:commentRss>http://blogs.msdn.com/officedevdocs/commentrss.aspx?PostID=9617420</wfw:commentRss><wfw:comment>http://blogs.msdn.com/officedevdocs/rsscomments.aspx?PostID=9617420</wfw:comment><description>&lt;P&gt;MVP &lt;A class="" title="Helmut Obertanner" href="https://mvp.support.microsoft.com/profile=78EB0C77-16A9-403F-AE17-CE6E8595ACBB" target=_blank mce_href="https://mvp.support.microsoft.com/profile=78EB0C77-16A9-403F-AE17-CE6E8595ACBB"&gt;Helmut Obertanner&lt;/A&gt; contributed two new code samples recently in May:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN id=nsrTitle&gt;&lt;B class=mainheaders&gt;How to: Import Appointment XML Data into Outlook Appointment Objects&lt;/B&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN id=nsrTitle&gt;&lt;B class=mainheaders&gt;How to: Obtain and Log On to an Instance of Outlook&amp;nbsp;&lt;/B&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;These code samples are presented in managed code (C# and Visual Basic). They are particularly interesting because they demonstrate the&amp;nbsp;use of the .NET Framework Class Library together with the Outlook Primary Interop Assembly. "&lt;SPAN id=nsrTitle&gt;How to: Import Appointment XML Data into Outlook Appointment Objects&lt;/SPAN&gt;" shows how to use the Microsoft COM implementation of the XML Document Object Model (DOM) to load and process appointment data in XML and return the data in Outlook &lt;STRONG&gt;AppointmentItem&lt;/STRONG&gt; objects. "&lt;SPAN id=nsrTitle&gt;How to: Obtain and Log On to an Instance of Outlook&lt;/SPAN&gt;" shows how to use&amp;nbsp;Microsoft Language Integrated Query (LINQ) to verify if there is an Outlook process running on&amp;nbsp;a computer.&lt;/P&gt;
&lt;P&gt;You can view these code samples on&amp;nbsp;the Office Online version of the Outook 2007 Developer Reference:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In Outlook, click F1. &lt;/LI&gt;
&lt;LI&gt;Click the down arrow next to &lt;STRONG&gt;Search&lt;/STRONG&gt;. &lt;/LI&gt;
&lt;LI&gt;Under &lt;STRONG&gt;Content from Office Online&lt;/STRONG&gt;, select &lt;STRONG&gt;Developer Reference&lt;/STRONG&gt; if it is not already selected. &lt;/LI&gt;
&lt;LI&gt;In the text box adjacent to &lt;STRONG&gt;Search&lt;/STRONG&gt;, type a related&amp;nbsp;search string such as "XML", "appointment", or "import" to find the topic "&lt;SPAN id=nsrTitle&gt;How to: Import Appointment XML Data into Outlook Appointment Objects&lt;/SPAN&gt;".&lt;/LI&gt;
&lt;LI&gt;Similarly, type a search string such as "log on" or "Outlook instance" to find "&lt;SPAN id=nsrTitle&gt;How to: Obtain and Log On to an Instance of Outlook&lt;/SPAN&gt;".&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Starting from this update, you can select from the TOC or&amp;nbsp;search for the topic "&lt;SPAN id=nsrTitle&gt;&lt;B class=mainheaders&gt;Latest Additions to the Outlook Developer Reference&lt;/B&gt;&lt;/SPAN&gt;" to see updates to the Outlook 2007 Developer Reference in the most recent quarter. Code samples from Helmut in the last couple of months are listed there.&lt;/P&gt;
&lt;P&gt;As usual, you can also select from the TOC or&amp;nbsp;search for the topic "&lt;SPAN id=nsrTitle&gt;&lt;B class=mainheaders&gt;How Do I ... in Outlook&lt;/B&gt;&lt;/SPAN&gt;" which lists all the how-to topics in the Outlook developer help.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9617420" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Office+developer+documentation/default.aspx">Office developer documentation</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Outlook/default.aspx">Outlook</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/code+sample+contribution/default.aspx">code sample contribution</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Obertanner/default.aspx">Obertanner</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/Helmut/default.aspx">Helmut</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/MVP/default.aspx">MVP</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/XML/default.aspx">XML</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/how+do+I/default.aspx">how do I</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/log+on/default.aspx">log on</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/appointment/default.aspx">appointment</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/managed+code/default.aspx">managed code</category><category domain="http://blogs.msdn.com/officedevdocs/archive/tags/LINQ/default.aspx">LINQ</category></item></channel></rss>