Outlook 2007 save changes dialog box

  • Thread starter Thread starter GR
  • Start date Start date
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!
 
As far as I know you can't read the return from that dialog or prevent it
from showing if you change a meeting item where updates to the recipients
are going to be sent out.
 
Ken, thanks for the reply.

That is a little discouraging to hear.

Please, let me ask you another question on this. Do you have any idea
why the dialog box only appears after the 1st time that you modify and
Save the meeting item but not any subsequent times?

For example, if you create a new meeting and send it out, then you
open it back up again and just type something in the Body field and
hit Save (Ctrl-S) you will get the dialog box popup. If you go ahead
and select to send the update it goes out and closes the meeting item.
Now open it back up again and add some more stuff into the Body field
and press Save again. No dialog box! (nor any other subsequent times).

Also, the wording on the dialog box seems a little strange to me as
well. If you do the example I laid out above, you will notice that
when the dialog box does pop up it says: "The attendees of the meeting
have changed." Even though you never modified the attendee list in any
way.

Any thoughts?
Thanks.
 
I have no idea why it would appear once and not other times. The odd dialog
is not odd, think about all the other MS dialogs that are odd or don't mean
anything. It's just MS.
 
Back
Top