![]() |
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 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 ? |
#2
|
|||
|
|||
![]()
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 ? |
#3
|
|||
|
|||
![]()
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 ? |
#4
|
|||
|
|||
![]()
Argh yes, since they broke compatibility.
It's documented as a known issue for Outlook 2007 at http://support.microsoft.com/default...b;EN-US;929593, not documented at all for the change to Outlook 2003. I've been using timers for my applications, but where I start the timer depends on if I'm handling Item.Send or whatever. Otherwise I don't know of any workarounds. -- 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 ... 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 ? |
#5
|
|||
|
|||
![]()
Thanks for the idea - I'll post back if I come up with a better workaround
.... "Ken Slovak - [MVP - Outlook]" wrote in message ... Argh yes, since they broke compatibility. It's documented as a known issue for Outlook 2007 at http://support.microsoft.com/default...b;EN-US;929593, not documented at all for the change to Outlook 2003. I've been using timers for my applications, but where I start the timer depends on if I'm handling Item.Send or whatever. Otherwise I don't know of any workarounds. -- 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 ... 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 ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting user input using a form and returning to procedure | Twotone | Outlook and VBA | 2 | February 7th 07 10:46 PM |
deleted emails returning | David | Outlook - General Queries | 0 | March 30th 06 06:09 PM |
savemode in Close method | Long Nguyen | Outlook - Using Forms | 2 | March 30th 06 08:44 AM |
LDAP not returning correct field info | cleagl | Outlook - Using Contacts | 0 | March 27th 06 12:55 AM |
Old Reminders Keep Returning | Anita Taylor | Outlook - Calandaring | 0 | March 9th 06 04:11 PM |