![]() |
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 add non-sendable Outlook 2003 appointment attendees to the
active appointment compose window programmatically using properties PidLidNonSendableTo (PSETID_Common 0x8536) and PidLidNonSendToTrackStatus (PSETID_Common 0x8543). The problem is that inspecotr does not display them immediately immediately. If I close appointment and open it again I can see non-sendable recipients, however I cannot make Outlook display them without closing inspector. I tried adding/removing resipients, changing properties, calling Display() method, but nothing seems to work. Is it possible to do? |
Ads |
#3
|
|||
|
|||
![]()
Thanks for reply! In Outlook 2003 and 2007 I tried Extended MAPI and in 2007
tried new PropertyAccessor API, neither of them work. Unfortunately item.Subject = item.Subject and calling Save() method didn’t help either. "Ken Slovak - [MVP - Outlook]" wrote: What API are you using to add them? If it's not the Outlook object model (obviously) then are you setting any properties from the object model after saving your changes that might fake Outlook into thinking something has changed on the item? One such trick is setting item.Subject to itself and then calling the item.Save() method. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "denis khodak" denis wrote in message ... I’m trying to add non-sendable Outlook 2003 appointment attendees to the active appointment compose window programmatically using properties PidLidNonSendableTo (PSETID_Common 0x8536) and PidLidNonSendToTrackStatus (PSETID_Common 0x8543). The problem is that inspecotr does not display them immediately immediately. If I close appointment and open it again I can see non-sendable recipients, however I cannot make Outlook display them without closing inspector. I tried adding/removing resipients, changing properties, calling Display() method, but nothing seems to work. Is it possible to do? |
#4
|
|||
|
|||
![]()
Then close and re-open is the only way I know of to update the display.
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "denis khodak" wrote in message ... Thanks for reply! In Outlook 2003 and 2007 I tried Extended MAPI and in 2007 tried new PropertyAccessor API, neither of them work. Unfortunately item.Subject = item.Subject and calling Save() method didn’t help either. |
#5
|
|||
|
|||
![]()
Close/re-open works, the only downside is that user experience is far from
ideal ![]() "Ken Slovak - [MVP - Outlook]" wrote: Then close and re-open is the only way I know of to update the display. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "denis khodak" wrote in message ... Thanks for reply! In Outlook 2003 and 2007 I tried Extended MAPI and in 2007 tried new PropertyAccessor API, neither of them work. Unfortunately item.Subject = item.Subject and calling Save() method didn’t help either. |
#6
|
|||
|
|||
![]()
Hi Denis,
Can you please post a source code sample where you add non-sendable using Outlook 2007 PropertyAccessor. I'm having similar problem and can't add recipient (even after Save and reopen of Inspector). Thank you.. Submitted using http://www.outlookforums.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing CurrentUser Programmatically | Alan Cuthbertson | Outlook and VBA | 2 | July 14th 08 01:46 AM |
How can I send emails to multiple recipients & how many Recipients | Cusie | Outlook - Using Contacts | 2 | November 2nd 07 11:07 PM |
Programmatically enable Add-ins | balaji chandan | Add-ins for Outlook | 11 | July 18th 07 10:54 PM |
How to programmatically enable a rule? | PW | Outlook and VBA | 1 | April 20th 07 07:17 AM |
Closing Outlook Programmatically | Michael Ryle | Outlook and VBA | 3 | January 3rd 07 03:21 PM |