A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to cache other user's calendar info?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 8th 06, 05:20 AM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 5
Default How to cache other user's calendar info?

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
  #2  
Old August 8th 06, 07:34 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to cache other user's calendar info?

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



  #3  
Old August 8th 06, 08:58 AM posted to microsoft.public.outlook.program_vba
Windy Miller
external usenet poster
 
Posts: 1
Default How to cache other user's calendar info?

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





  #4  
Old August 8th 06, 07:12 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to cache other user's calendar info?

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







  #5  
Old August 8th 06, 09:30 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default How to cache other user's calendar info?

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








  #6  
Old August 8th 06, 10:24 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to cache other user's calendar info?

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










  #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











  #8  
Old August 8th 06, 11:01 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to cache other user's calendar info?

How about the deleted items?

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

"Tadwick" wrote in message
...
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













  #9  
Old August 8th 06, 11:27 PM posted to microsoft.public.outlook.program_vba
Tadwick
external usenet poster
 
Posts: 104
Default How to cache other user's calendar info?

not sure, what do you suggest?

"Dmitry Streblechenko" wrote:

How about the deleted items?

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

"Tadwick" wrote in message
...
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














  #10  
Old August 9th 06, 01:02 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to cache other user's calendar info?

If you don't use the ICS, you can only load both the target and destination
folders and figure out which items were deleted. You can of course assume
that deletions are rare compared to inserts/modifications and avoid
processing deletions every time you sync, but still, there is no way around
it, you need to load both folders to see which ones are gone.

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

"Tadwick" wrote in message
...
not sure, what do you suggest?

"Dmitry Streblechenko" wrote:

How about the deleted items?

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

"Tadwick" wrote in message
...
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
















 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access another user's calendar artgrl8163 Outlook - Calandaring 2 August 24th 06 03:21 PM
How can I open a user created calendar from another user's PC? Jaycee Outlook - Calandaring 2 July 13th 06 09:54 PM
How to sync a user's calendar in two exchange server [email protected] Outlook - Installation 1 April 6th 06 03:47 PM
Viewing Other User's Calendar. Karen Outlook - Calandaring 3 March 13th 06 06:38 AM
Other user's calendar CapsLock Outlook - Calandaring 0 February 12th 06 02:35 PM


All times are GMT +1. The time now is 03:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.