PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Feasibility Question: Possible to pull Calendar Items from shared calendar?

Reply

Feasibility Question: Possible to pull Calendar Items from shared calendar?

 
Thread Tools Rate Thread
Old 04-05-2004, 06:42 AM   #1
Paul Thompson
Guest
 
Posts: n/a
Default Feasibility Question: Possible to pull Calendar Items from shared calendar?


I want to develop an automated system whereby an individual's outlook
session automatically polls a shared calendar for events happening
that day. If there is an event, it is duplicated in the individual's
calendar. However, there is a caveat: the owner of the shared
calendar doesn't want to clutter his primary calendar, so we would
have to create a new calendar...call it CHANGE_CALENDAR.

Has anyone ever done this kind of thing before? I'd appreciate any
guidance I can get as I'm fairly new at Outlook programming.

Many thanks!

  Reply With Quote
Old 04-05-2004, 12:53 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Feasibility Question: Possible to pull Calendar Items from shared calendar?

It's possible to access any calendar, given the property permissions. In the
case of a subfolder in a shared mailbox, there are two approaches you can
use. One is to walk the folder hierarchy using the Folders collections or
use a function that does that for you. See
http://www.outlookcode.com/d/code/getfolder.htm. This approach requires that
the shared mailbox be set up in the individual's profile as a secondary
mailbox so that it is visible in the folder list. The other is to use CDO
and a dynamic profile to logon to the mailbox. The disadvantages of the CDO
method are that you have to make sure the CDO component of OUtlook has been
installeds and appointments in a calendar subfolder are accessed as CDO
Message objects, not as appointments, so you have to use MAPI property tags
to get the data (see http://www.cdolive.com/cdo10.htm).

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Paul Thompson" <shinobi2[no-spam-thanks]@sympatico.ca> wrote in message
news:vuae90to6nq42kmpu3op63q2m8m9velkc1@4ax.com...
> I want to develop an automated system whereby an individual's outlook
> session automatically polls a shared calendar for events happening
> that day. If there is an event, it is duplicated in the individual's
> calendar. However, there is a caveat: the owner of the shared
> calendar doesn't want to clutter his primary calendar, so we would
> have to create a new calendar...call it CHANGE_CALENDAR.
>
> Has anyone ever done this kind of thing before? I'd appreciate any
> guidance I can get as I'm fairly new at Outlook programming.
>
> Many thanks!
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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