View Single Post
  #7  
Old August 8th 06, 10:34 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default How to cache other user's calendar info?

I would use something like.....

Set oItms = oFdr.Items.Restrict("[LastModificationTime] 'jul 1, 2006'")

"Dmitry Streblechenko" wrote:

AFAIK other mailboxes are not cached. Only the primary mailbox and the
Favorites are cached if set so.
And to store the calendar information locally using your code, wouldn't you
need to first figure out which items were modified?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Tadwick" wrote in message
...
It wouldn't help filter - that would be done with VBA - but it would be a
means of storing calendar information locally instead of having to
retrieve
it each time. That is the reason for the original post - does Outlook
store
retrieved Calendar info in some kind of cache or the pst or do I have to
retrieve all calendar info for other users each time I want to view it?

"Dmitry Streblechenko" wrote:

How would that help to filter out old/unchanged items?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Windy Miller" wrote in message
...
how about
http://msdn.microsoft.com/library/de...stInEntApp.asp ?




"Dmitry Streblechenko" wrote in message
...
You could use the ICS (Incremental Change Synchronization) API for
that,
but it is only available in Extended MAPI.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Tadwick" wrote in message
...
Hi there,

If I write some code that returns all appointments for Exchange users
that have delegated reveiw permissions to me, how should I cache the
info so that I only need to return appointment data that has been
modified since the last time I checked? I understand how to filter
out
older, unchanged data but I'm wondering if there is a way that
outlook
cache's the older data and for how long? Alternatively, could I
store
that user's data in a local calendar folder or do I need to write it
to
a database or other local data store?

Assume Windows XP/Outlook 2003/Exchange 2003.

Thanks











Ads