Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Sep 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Outlook backward compatibility (200o, XP, 2003)

    Hi, I have created an Outlook add-in in Visual Studio 2003 using the Outlook 2003 object model. Will I be able to use my addin in Outlook 2000 and Outlook XP. If not, May I know the reasons?

    Thank you,
    Regards,
    Bikash.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Outlook backward compatibility (200o, XP, 2003)

    Welcome to Woody's Lounge.

    Users with Outlook 2000 or 2002 are likely to run into problems if you set a reference to the Microsoft Outlook 11.0 Object Library. Office applications tend to resolve references to older versions gracefully, but balk at references to newer versions than the one running the code.

    You have two options:
    - Set a reference to the Microsoft Outlook 9.0 Object Library (version 9.0 = Office 2000) and compile the add-in anew. The add-in should then work on Outlook 2000, 2002 and 2003.
    or
    - Don't set a reference to any Outlook library. Instead, declare all Outlook variables As Object instead of As Outlook.<name>. You must also replace all symbolic Outlook constants such as olMailItem with their value; you can use the Object Browser to look up these values.

  3. #3
    New Lounger
    Join Date
    Sep 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Outlook backward compatibility (200o, XP, 2003)

    Thank you for your prompt reply and the solution.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •