G
GR
Hi All,
I have noticed another change in Outlook 2007 from the previous
versions.
In my AddIn, I have code that does an oAppointment.Save command along
the way. In the previous versions of Outlook this did not generate any
kind of prompt to the user. However, in Outlook 2007 when the
oAppointment.Save command is executed, Outlook pops up a dialog box
giving the user 2 choices. The first is "Save changes and send update"
and the second choice is "Don't save but keep the meeting open".
If the user selects to "Save changes and send update", this is causing
the recipients to receive 2 update email messages because Outlook
sends one right then and my code later on downstream is sending the
update after I've modified it (this is how it currently works for all
other versions of Outlook).
So, my questions are:
1. Is there a way to disable that dialog box from prompting the user?
2. Is there a way to detect which selection the user chose (either
choice #1, #2 or Cancel button)
I have tried setting the Cancel flag to true in some of the subsequent
events (Write and Send) but this seemed to produce an error (424 I
think?).
Any ideas?
Thanks!
I have noticed another change in Outlook 2007 from the previous
versions.
In my AddIn, I have code that does an oAppointment.Save command along
the way. In the previous versions of Outlook this did not generate any
kind of prompt to the user. However, in Outlook 2007 when the
oAppointment.Save command is executed, Outlook pops up a dialog box
giving the user 2 choices. The first is "Save changes and send update"
and the second choice is "Don't save but keep the meeting open".
If the user selects to "Save changes and send update", this is causing
the recipients to receive 2 update email messages because Outlook
sends one right then and my code later on downstream is sending the
update after I've modified it (this is how it currently works for all
other versions of Outlook).
So, my questions are:
1. Is there a way to disable that dialog box from prompting the user?
2. Is there a way to detect which selection the user chose (either
choice #1, #2 or Cancel button)
I have tried setting the Cancel flag to true in some of the subsequent
events (Write and Send) but this seemed to produce an error (424 I
think?).
Any ideas?
Thanks!