Emil Hunefalk

Programming Outlook 2007 add-ins with Visual C# 2008 Express

Posted on | September 17, 2009 | 7 Comments

You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Programming Outlook 2007 add-ins with Visual C# 2008 Express”.

Comments

7 Responses to “Programming Outlook 2007 add-ins with Visual C# 2008 Express”

  1. Robert
    October 27th, 2009 @ 15:11 pm

    Do need to have Office 2007 installed to test and run your addin?

  2. EH
    October 27th, 2009 @ 15:22 pm

    Hi Robert,

    You need to have Outlook 2007 installed to properly run the add-in I am currently working on (started with the code seen in the post – which of course has later been heavily modified and added to, for example by replacing the Outlook 2003-compatible CommandBarButton with a Ribbon group).

    However, the code in this post should also work with at least Outlook 2003 and 2010. It does work with the Outlook 2007 trial version, which has been used to test it on a local machine here. I don’t know if it works with for example free Outlook Express, as I am currently only developing it for Outlook 2007.

  3. Robert
    October 28th, 2009 @ 13:14 pm

    I install the Primary Interop Assemblies for Microsoft Office 2007. I was able to add the reference to the Microsoft.Office.Core but there was no reference for Microsoft.Office.Interop.Outlook. What am I doing wrong. Do i need to install the trial version of office 2007?

  4. EH
    October 28th, 2009 @ 13:19 pm

    Microsoft.Office.Interop.Outlook comes with the Office 2007 installation – as far as I know you can’t get it separate.

  5. Robert
    October 28th, 2009 @ 15:18 pm

    Do I need to install outlook 2007 to get access to the IDTExensibility Assemblies? How do I add this reference so I can add the line:

    using Extensibility;

    To my code.

  6. EH
    October 28th, 2009 @ 15:27 pm

    You can add a reference to the Extensibility under the .NET tab, with the name “extensibility”. In other words, it’s not under the COM tab with the Office references, and only called extensibility, without “IDT” in the start. There’s some information from MS at http://support.microsoft.com/kb/302901

  7. shivranjani
    January 19th, 2010 @ 12:44 pm

    thanks a lot…Your post really helped to solve my problem.I googled for almost four days, could not find anything.My problem was while adding the key under HKEYLOCALMACHINESOFTWAREMicrosoftOfficeOutlookAddins ,I just added namespace of project not with class namespace.
    Once again thanks a lot.

Leave a Reply





  • LinkedIn

    If you want to see my LinkedIn profile, click on this button:

    Emil Hunefalk
  • Find & Follow

    hunefalk StumbleUponhunefalk Twitterhunefalk Flickrhunefalk Delicioushunefalk Facebookhunefalk Friendfeedhunefalk LinkedInhunefalk YouTubehunefalk Last.fmhunefalk MyBlogLoghunefalk Google Readerhunefalk Picasawebhunefalk Facebook Profile
  • Comments

  • Tag Cloud

  • addin
  • development
  • mail-client
  • ms-outlook
  • programming
  • visual-csharp