Tuesday, November 10, 2009

How to open Outlook Developer Reference in Office 2007

If you are a developer working with Outlook, you will definitely need Outlook Object Model reference that ships with Outlook. Unfortunately, getting to it in Outlook 2007 is not exactly straightforward.
The standard way, apparently envisioned by Microsoft, is as follows. First, you need to enable Developer tab in Outlook. For this:
  1. On the Tools menu, click Options.
  2. On the Other tab, click Advanced Options, and then select the Show Developer tab in the Ribbon check box.
Once that's done, you'll need to do the following:
  1. Open an old email or create a new one.
  2. In the email viewing/editing window, click on Developer tab
  3. Press Visual Basic button
  4. Once Visual Basic editor opens, select Help from the menu or toolbar.
Cumbersome to say the least! Fortunately, there's a quicker way. Just run the following command (in cmd window or through a shortcut):
c:\Program Files\Microsoft Office\Office12\CLVIEW.EXE OUTLOOK.DEV Outlook
CLVIEW.EXE is Office 2007 help viewer. The path to it may need to be adjusted depending on the location of your Office 2007 installation.
This method of course works for other Office applicaitons: all you need to do is replace OUTLOOK.DEV with WINWORD.DEV or EXCEL.DEV in the first command line parameter. The second command line parameter is just window title, so it can be anything.
Post a Comment