A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 2007 save changes dialog box



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 9th 07, 11:09 PM posted to microsoft.public.outlook.program_addins
GR
external usenet poster
 
Posts: 10
Default Outlook 2007 save changes dialog box

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 a

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!

Ads
  #2  
Old July 10th 07, 03:59 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 save changes dialog box

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 Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"GR" wrote in message
ups.com...
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 a

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!


  #3  
Old July 11th 07, 05:36 PM posted to microsoft.public.outlook.program_addins
GR
external usenet poster
 
Posts: 10
Default Outlook 2007 save changes dialog box

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.


  #4  
Old July 11th 07, 10:52 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook 2007 save changes dialog box

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"GR" wrote in message
ups.com...
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.



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Customize the user properties dialog in Outlook 2007 yousry Add-ins for Outlook 2 May 15th 07 09:38 AM
Suppress the save dialog, exceptions occur... KevinH Outlook - Using Forms 0 February 27th 07 02:54 PM
Always get "Do you want to save changes" dialog lee Outlook - Using Contacts 1 December 1st 06 09:29 PM
How do I get File Save As Dialog Box for Attachments? Mike M 91107 Outlook and VBA 3 June 9th 06 12:36 AM
bypassing save dialog box philippe Outlook - Using Forms 5 April 26th 06 03:52 PM


All times are GMT +1. The time now is 08:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.