none
C# outlook Addin MailItem exception RRS feed

  • Question

  • Hi

    I'm developing an outlook add-in and when I'm trying to get the subject from an existing mail, it returns me the next exception

    System.Runtime.InteropServices.COMException (0x9284010A): The item has been moved or deleted in Microsoft.Office.Interop.Outlook._MailItem.get_Subject() in OutlookHelloWorld.eVRibbonRead.btnEV_Click(Object sender, RibbonControlEventArgs e)

    I don't use the get_Subject() function and it does not exist in the Reference.

    The add-in works on Office 2007 but I tried on Office 2010 and returns me that exception, could anyone help me to find the cause of this issue??

    Thanks

    Monday, July 2, 2012 4:51 PM

All replies

  • Hi jush85,

    Thanks for posting in the MSDN Forum.

    Would you please show me your snippet for further research?

    Have a good day,

    Tom


    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, July 3, 2012 6:55 AM
    Moderator
  • Jush, do you still need assistance on this query? or we'll close this thread. Can you reproduce the exception within a small sample project?

    thanks,


    Forrest Guo | MSDN Community Support | Feedback to manager

    Friday, July 6, 2012 9:03 AM
    Moderator