Unanswered C# outlook Addin MailItem exception

  • Montag, 2. Juli 2012 16:51
     
     

    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

Alle Antworten

  • Dienstag, 3. Juli 2012 06:55
    Moderator
     
     

    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

  • Freitag, 6. Juli 2012 09:03
    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