A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

"first day of the week" appointment item



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 24th 07, 11:13 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 9
Default "first day of the week" appointment item

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
  #2  
Old January 25th 07, 06:33 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default "first day of the week" appointment item



That value is stored in the registry, e.g. under:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O utlook\Options\Calendar
in FirstDOW


--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Keep your Outlook categories organized!
http://www.shareit.com/product.html?...4&languageid=1
(German: http://www.VBOffice.net/product.html?pub=6)

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).

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.

  #3  
Old January 29th 07, 10:46 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 9
Default "first day of the week" appointment item

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
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 04:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.