none
Old thread but new question RRS feed

  • Question

  • I raised a question before in

    http://social.msdn.microsoft.com/Forums/en-US/outlookdev/thread/823c295f-9f2e-4824-9f75-69f1ce5112f4

    And now I still confused,  why it behaviors differently with the same code with the same operation in outlook 2010 and 2007 and 2003, I want to redescribe the problem and get the reason.

    Operation:

    1. open a outlook meeting, change the start time and click Send

    2. after user click Send, I write some user-defined property to the meeting, and call Save() function.

    3. in outlook version 2010 and 2003, everything goes fine.

    4. but in version 2007, it will popup to say""the starttime has changed, do you want to send it" after user click Send.

    I think it is unnormal and I want to know why it occurs? How can I do to avoid that?

    Thanks to Damian.

    Thanks to everyone to give suggestion.

    Wednesday, September 12, 2012 7:28 AM

Answers

  • The answer to your question is sort of yes.
     
    What I mean by that is if the send is allowed to complete then afterwards the changes made to the item before the send are committed to the item. However, if you access the item in the Send() event handler you would need to call Save() yourself in your code to commit things like changes, recipients and attachments.

    --
    Ken Slovak
    [MVP-Outlook]
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007
    "SaraZC" <=?utf-8?B?U2FyYVpD?=> wrote in message news:a91a2dda-228f-4837-ad41-7addf6f3d755...
    Or I want to know when user click Send, does outlook call Save() implicitly?

    Ken Slovak MVP - Outlook
    • Marked as answer by SaraZC Friday, September 14, 2012 10:09 AM
    Thursday, September 13, 2012 2:32 PM
    Moderator

All replies

  • Or I want to know when user click Send, does outlook call Save() implicitly?
    Thursday, September 13, 2012 3:18 AM
  • The answer to your question is sort of yes.
     
    What I mean by that is if the send is allowed to complete then afterwards the changes made to the item before the send are committed to the item. However, if you access the item in the Send() event handler you would need to call Save() yourself in your code to commit things like changes, recipients and attachments.

    --
    Ken Slovak
    [MVP-Outlook]
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007
    "SaraZC" <=?utf-8?B?U2FyYVpD?=> wrote in message news:a91a2dda-228f-4837-ad41-7addf6f3d755...
    Or I want to know when user click Send, does outlook call Save() implicitly?

    Ken Slovak MVP - Outlook
    • Marked as answer by SaraZC Friday, September 14, 2012 10:09 AM
    Thursday, September 13, 2012 2:32 PM
    Moderator