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

Outlook Recurence



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 22nd 06, 11:49 AM posted to microsoft.public.outlook.program_addins
lg
external usenet poster
 
Posts: 26
Default Outlook Recurence

Hi,
I am programming an Add-in for Outlook using C# and VSTO and was
wondering if it is possible to determine in the recurrence dialog of an
appointment item in outlook to know what monthly pattern is set. (For
example, to get the third Wednesday of of every month). I am using the
RecurrencePattern object but there dosnt seem to be any why to get this type
of pattern from the object
  #2  
Old August 22nd 06, 04:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Recurence

The RecurrencePattern properties of Interval, DayOfMonth, DayOfWeekMask,
MonthOfYear and so on are used for that. The result in RecurrencePattern may
not match what you see in the dialog since it's translated when you click
OK.

Use F2 to look at the properties in the Object Browser and use the VBA Help
to see code samples for that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lg" wrote in message
...
Hi,
I am programming an Add-in for Outlook using C# and VSTO and was
wondering if it is possible to determine in the recurrence dialog of an
appointment item in outlook to know what monthly pattern is set. (For
example, to get the third Wednesday of of every month). I am using the
RecurrencePattern object but there dosnt seem to be any why to get this
type
of pattern from the object


  #3  
Old August 22nd 06, 04:54 PM posted to microsoft.public.outlook.program_addins
lg
external usenet poster
 
Posts: 26
Default Outlook Recurence

Thanks for the help, I have managed to map the dayly and weekly options on
the recurrence pattern but I am not sure which properties store the monthly
option. I know that frequency is stored in the interval property but do you
know where the day and the week in the month (e.g. third week) are stored ?

"Ken Slovak - [MVP - Outlook]" wrote:

The RecurrencePattern properties of Interval, DayOfMonth, DayOfWeekMask,
MonthOfYear and so on are used for that. The result in RecurrencePattern may
not match what you see in the dialog since it's translated when you click
OK.

Use F2 to look at the properties in the Object Browser and use the VBA Help
to see code samples for that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lg" wrote in message
...
Hi,
I am programming an Add-in for Outlook using C# and VSTO and was
wondering if it is possible to determine in the recurrence dialog of an
appointment item in outlook to know what monthly pattern is set. (For
example, to get the third Wednesday of of every month). I am using the
RecurrencePattern object but there dosnt seem to be any why to get this
type
of pattern from the object



  #4  
Old August 22nd 06, 05:51 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Outlook Recurence

Those mask properties are used for that. Each is a flag of bits. You have to
interpret the bits of DayOfWeekMask, DayOfMonth, MonthOfYear.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"lg" wrote in message
...
Thanks for the help, I have managed to map the dayly and weekly options on
the recurrence pattern but I am not sure which properties store the
monthly
option. I know that frequency is stored in the interval property but do
you
know where the day and the week in the month (e.g. third week) are stored
?


 




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


All times are GMT +1. The time now is 09:28 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.