Tuesday, February 27, 2007

Determine if an Outlook Appointment/Calendar Item has been DST Rebased.

The CDOs and CDONTS of Messaging Development - OUTBOX: How to tell if the DST Rebasing Tool has been run on a mailbox?

"The rebasing tool adds time zone information to appointments that it touches.  This time zone information is the same that Outlook 2007 (and patched versions of CDO 1.21) puts on appointments when it creates them.  These time zone structures are described here...

http://blogs.msdn.com/stephen_griffin/archive/2006/12/06/outlook-2007-timezone-structures.aspx

What that means is that we cannot discern between appointments that were touched by the rebasing tool and ones that were created or modified by “new” clients (Outlook 2007 or DST patched versions of CDO 1.21).  There isn’t any marking on the mailbox itself so what you would have to do is iterate through items in the calendar folder and look for these properties on calendar items.  If they exist on any appointment in the calendar then you know that the rebasing tool and/or “new” clients have been there.

..."

Oh yeah, I'm going to need this code snip in the near future...

No comments:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...