
I think that kills my project.
I have code that pulls any appointment which includes "vacation" in the
title, and uses that to build a department vacation calendar. The problem is
that some folks use recurring appointments (monday, but recur 3 times) or
long appointments (start Mon 7am, ends Thurs 3pm). Right now I'm trying to
set it up so that a person with shared viewing permissions can run the
program for our whole department, so we don't have to bug each person to run
the code on their PC. In my example, the Thurs 3pm could mean 8 hours of
vacation if their worksday ends at 3pm, or it could mean 6 hours vacation, if
their workday ends at 5pm. Eventually we'll have people in another time
zone, and that will make it even tougher to figure out.
I'm surprised, because I would have thought that it would be useful
information to have available to others who are scheduling appointments. If
I'm scheduling an appointment with someone on the other coast of the US, or
someone in Europe, it sure would be nice to see their workday (other times
greyed out as unavailable) so that I could be respectful of their schedule.
Maybe that will be in Office2010...
Thank you,
Keith
"Ken Slovak - [MVP - Outlook]" wrote:
Those settings are stored in the registry, at
HKCU\Software\Microsoft\Office\11.0\Outlook\Option s\Calendar (11.0 is for
Outlook 2003, for Outlook 2007 it's 12.0, etc.).
The values are stored as DWORD's, you will have to reverse engineer what the
meanings are, I'm not sure how they are interpreted by Outlook. Make changes
in the Outlook settings and see which registry values change and in what way
depending on the settings you change.
--
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
"ker_01" wrote in message
...
I've searched (object browser, help file, google), but no joy.
I'm pulling certain appointments (based on the contents of the subject
line)
and I need to differentiate between any partial or full appointments that
are
within the user's workday, and partial or full appointments that are
outside
that user's workday (for the partials, I'll have to calculate the number
of
hours that are actually within the workday). Different users have
different
start and end times set on their calendar.
I haven't been able to find the part of the object model to show the
individual user's workday- can anyone point me in the right directions?
Once
I have that I can calculate backwards to get the duration within the
workday,
unless there is an easier way to do this somehow.
Thanks!
Keith