![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I'm trying to implement my own "Save and Close" button on an
appointment form. In my button-click handler, I am calling _thisAppointment.Save(). The item does get saved, but I also get an exception "The operation cannot be performed because the message has been changed." The error code is -832306935. Does anyone know what will cause this exception? I'm able to save the item by pressing ctrl-S with no errors. Thanks, John |
Ads |
#2
|
|||
|
|||
![]()
Are you moving or changing the item in your code or in the Item.Write event
handler? -- 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 "JohnV@nn" wrote in message ups.com... I'm trying to implement my own "Save and Close" button on an appointment form. In my button-click handler, I am calling _thisAppointment.Save(). The item does get saved, but I also get an exception "The operation cannot be performed because the message has been changed." The error code is -832306935. Does anyone know what will cause this exception? I'm able to save the item by pressing ctrl-S with no errors. Thanks, John |
#3
|
|||
|
|||
![]()
Yes, I'm changing some user properties in the Write event. But this
also happens when I save by pressing ctrl-S. On Jul 16, 5:12 pm, "Ken Slovak - [MVP - Outlook]" wrote: Are you moving or changing the item in your code or in the Item.Write event handler? -- Ken Slovak [MVP - Outlook]http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm "JohnV@nn" wrote in message ups.com... I'm trying to implement my own "Save and Close" button on an appointment form. In my button-click handler, I am calling _thisAppointment.Save(). The item does get saved, but I also get an exception "The operation cannot be performed because the message has been changed." The error code is -832306935. Does anyone know what will cause this exception? I'm able to save the item by pressing ctrl-S with no errors. Thanks, John- Hide quoted text - - Show quoted text - |
#4
|
|||
|
|||
![]()
See if the error goes away if you comment out the code that changes things
in Write. If that fixes the problem then you need to release your handles to the Outlook objects before Write would fire. Without seeing your code I don't know what you're doing but something in your click event handler for your button is doing something that leads to the conflict. -- 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 "JohnV@nn" wrote in message ups.com... Yes, I'm changing some user properties in the Write event. But this also happens when I save by pressing ctrl-S. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The function cannot be performed because the message has been changed | [email protected] | Outlook - Calandaring | 4 | September 20th 07 07:35 PM |
Send/receive error: "Operation failed. Object could not be found" | RC in Washington | Outlook - Installation | 0 | June 25th 07 05:41 AM |
Error:The operation cannot be performed because the message has been changed | s | Outlook - General Queries | 0 | November 15th 06 10:55 AM |
"message changed" problem | clc | Outlook and VBA | 0 | May 11th 06 09:10 PM |
Outlook 2002 "The operation Failed" when clicking Send/Receive | Douglas Hay | Outlook - General Queries | 2 | March 6th 06 04:34 PM |