Thanks and Argh .... Yes, I'm calling it in the Close ... basically I do not
want the Outlook confimration dialog box to show up - I've already displayed
my own.
Is there another way to do this now ?
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Where are you calling Close? Outlook 2007 and the latest hot fix for
Outlook 2003 change the old behavior to return an error if you try to
close an Inspector or item in the item.Close or Inspector.Close event
handlers.
--
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
"Michael Tissington" wrote in message
...
I'm using C++ and Outlook 2007. In my Addin I'm calling the Close method
with olDiscard on a Contact Item.
I can get various properties on the item but when I try to do a Close I
get back an error 0x80040108 which I think is invalid Object.
This works in previous versions of Outlook.
Any ideas please ?