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

Tags: , , , , , , , ,

-832306935 "The operation cannot be performed because the message has been changed."





 
 
Thread Tools Display Modes
  #1  
Old July 16th 07, 03:14 PM posted to microsoft.public.outlook.program_addins
JohnV@nn
external usenet poster
 
Posts: 14
Default -832306935 "The operation cannot be performed because the message has been changed."

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  
Old July 16th 07, 10:12 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,085
Default -832306935 "The operation cannot be performed because the message has been changed."

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  
Old July 17th 07, 12:59 AM posted to microsoft.public.outlook.program_addins
JohnV@nn
external usenet poster
 
Posts: 14
Default -832306935 "The operation cannot be performed because the message has been changed."

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  
Old July 17th 07, 02:33 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,085
Default -832306935 "The operation cannot be performed because the message has been changed."

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
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
The function cannot be performed because the message has been changed JetaviationIT@gmail.com 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


All times are GMT +1. The time now is 01:28 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Credit Cards - MPAA - Mortgage Loans - Loans - Mobile Phones