Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to retrieve an appointment item using GlobalAppointmentID property

613 views
Skip to first unread message

jonath...@gmail.com

unread,
Dec 22, 2007, 7:12:01 PM12/22/07
to
I'm developing a sync application for outlook 2007 using VS2005 and
VSTO-SE

I'm trying to find a way to search for an appointment using the
GlobalAppointmentID property

Tried using the find method on the calendar folder object like this:
calendarFolder.Items.Find("[GlobalAppointmentID] = 'IDSTRING'");
But that resulted in an exception ("Condition is not valid."),
probably because the GlobalAppointmentID is a binary property, and as
such cannot be used to filter items (can anyone confirm that ?).

Help and Ideas would be appreciated.

Ken Slovak - [MVP - Outlook]

unread,
Dec 23, 2007, 2:07:48 PM12/23/07
to
Binary properties aren't supported for Find or Restrict or for Table
filters. See the "Unsupported Properties in a Table Object or Table.Filter"
topic in the Object Browser help.

Unless you have some other distinguishing property you can use that is
supported then brute force is the only answer. You might consider storing
the binary value as a string UserProperty so you can filter on it, if it's
possible to handle the required processing.

--
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


<jonath...@gmail.com> wrote in message
news:0c392af3-a650-48ae...@v32g2000hsa.googlegroups.com...

0 new messages