![]() |
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
|
|||
|
|||
![]()
Does anyone know where Outlook stores the "first day of the week" field
for calculating recurring appointments? I can tell you based on testing (ask me if you want to verify the test steps) that Outlook DOES store the "first day of the week" setting in each appointment record. You can change this setting via Tools-Options-Calendar Options, which usually defaults to "Sunday" as the first day of the week (at least where I'm from). If you add a recurring item, then change this setting, then add the exact recurring item again, you'll notice that the new item uses the new setting for calculations, while the old one continues to use the old setting (so it must be saved somewhere in each record). I used Outlook Spy to compare all of the fields of the before and after items, COM and MAPI, but didn't find any differences other than the ID and some of the date/time stamps. Nothing like I would expect to find, like a "0" for Sunday, and a "1" for Monday, or something like that. I have some code which duplicates Outlook's calculations, and without access to this field I can't correctly duplicate it. They give access to all of the other fields I need, in the RecurrancePattern COM object. I didn't see that that object has a MAPIOBJECT interface though, so I'm not sure if I can get access to "undocumented" fields like I can with the MAPI appointment item itself. |
Ads |
#3
|
|||
|
|||
![]()
Thank you, that is good to know incase I can't find the real value I
need. I know the value must also be stored per record, which is the value I really need in order to synchronize correctly. Since old records don't update when I change the global value, that tells me that the value is also stored per record, as well as the global setting kept in the registry. It makes since they would also keep the value with each record, so that the dates don't change from one PC to another (for example, with shared PST files, or if I copy my PST file to another location). On Jan 24, 11:33 pm, "Michael Bauer [MVP - Outlook]" wrote: That value is stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O utlook\Options\Calendar in FirstDOW Am 24 Jan 2007 15:13:40 -0800 schrieb : Does anyone know where Outlook stores the "first day of the week" field for calculating recurring appointments? I can tell you based on testing (ask me if you want to verify the test steps) that Outlook DOES store the "first day of the week" setting in each appointment record. You can change this setting via Tools-Options-Calendar Options, which usually defaults to "Sunday" as the first day of the week (at least where I'm from). If you add a recurring item, then change this setting, then add the exact recurring item again, you'll notice that the new item uses the new setting for calculations, while the old one continues to use the old setting (so it must be saved somewhere in each record). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
All-day events doesn't show up in "Work Week" view | [email protected] | Outlook - Calandaring | 3 | January 14th 07 05:29 AM |
How to print appointment times in "Weekly" or "Monthly" print styles? | Alan | Outlook - General Queries | 0 | September 27th 06 07:47 AM |
How to set default for all-day event to indicate "busy" not "free. | Shuggles | Outlook - Calandaring | 1 | July 6th 06 11:45 AM |
I do not have "Encoding" item in my "View" menu of Outlook 2003? | Baher | Outlook - Installation | 0 | June 20th 06 09:35 AM |
Old-fashioned "trifold calender" printout needs "show next 30 day | Adam Michael Barron, M.D. | Outlook - Calandaring | 0 | March 31st 06 04:25 PM |