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]" <kenslovak[ at ]mvps.org> wrote in message news:OaeNiH4THHA.480[ at ]TK2MSFTNGP02.phx.gbl...
[Quoted Text] > 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" <mtissington[ at ]newsgroup.nospam> wrote in message > news:ukuJAa0THHA.868[ at ]TK2MSFTNGP05.phx.gbl... >> 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 ? >> >
|