![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() I'm parsing a RecurrencePattern object where the recurrence type is daily. If I'm understanding properly, the pattern Interval of 0 means that they only want weekdays. Is that correct? If so, how do I identify which days are weekday? I know in the calendar options page there are checkboxes for what a workweek is. Can somebody show me how to access those checkboxes please? -- sgrosch1 http://forums.slipstick.com |
Ads |
#2
|
|||
|
|||
![]()
Have you looked at DayOfWeekMask?
olMonday = 2 olTuesday = 4 olWednesday = 8 olThursday = 16 olFriday = 32 32+16+8+4+2 = 62 If DayOfWeekMask is 62 then the work week would be Monday to Friday. The mask is actually the OR of all the binary values of the day flag bits. -- 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 "sgrosch1" sgrosch1.4a552y@invalid wrote in message news:sgrosch1.4a552y@invalid... I'm parsing a RecurrencePattern object where the recurrence type is daily. If I'm understanding properly, the pattern Interval of 0 means that they only want weekdays. Is that correct? If so, how do I identify which days are weekday? I know in the calendar options page there are checkboxes for what a workweek is. Can somebody show me how to access those checkboxes please? -- sgrosch1 http://forums.slipstick.com |
#3
|
|||
|
|||
![]() That's the days selected in the recurrence pattern, not the days that are flagged in the Calendar options for which days the employee works. I found the calendar options up in the registry and can compare that against the mask now. 'Ken Slovak - [MVP - Outlook Wrote: ;143230']Have you looked at DayOfWeekMask? olMonday = 2 olTuesday = 4 olWednesday = 8 olThursday = 16 olFriday = 32 32+16+8+4+2 = 62 If DayOfWeekMask is 62 then the work week would be Monday to Friday. The mask is actually the OR of all the binary values of the day flag bits. -- 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 "sgrosch1" sgrosch1.4a552y@invalid wrote in message news:sgrosch1.4a552y@invalid... I'm parsing a RecurrencePattern object where the recurrence type is daily. If I'm understanding properly, the pattern Interval of 0 means that they only want weekdays. Is that correct? If so, how do I identify which days are weekday? I know in the calendar options page there are checkboxes for what a workweek is. Can somebody show me how to access those checkboxes please? -- sgrosch1 http://forums.slipstick.com -- sgrosch1 http://forums.slipstick.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RecurrencePattern.GetOccurrence() fails on patterns from recurringTasks | Jeff | Outlook and VBA | 2 | October 15th 09 07:42 PM |
How do i show only daily tasks when printing daily calendar? | dkellogg | Outlook - Calandaring | 5 | March 16th 08 09:43 PM |
How can I identify which profile is in use | cmgarnett | Outlook - Installation | 4 | May 3rd 07 07:08 AM |
Extract individual appointments from RecurrencePattern ? | Simon Shutter | Outlook and VBA | 1 | July 7th 06 11:04 PM |
RecurrencePattern strangeness | Mark McGinty | Add-ins for Outlook | 0 | January 29th 06 07:01 PM |