Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Outlook Recurence

Geek News

Outlook Recurence
lg 8/22/2006 9:49:02 AM
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
Re: Outlook Recurence
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 8/22/2006 2:17:47 PM
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" <lg[ at ]discussions.microsoft.com> wrote in message
news:7529F576-F256-4D37-BC64-3A39989E11CC[ at ]microsoft.com...
[Quoted Text]
> 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

Re: Outlook Recurence
lg 8/22/2006 2:54:02 PM
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:

[Quoted Text]
> 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" <lg[ at ]discussions.microsoft.com> wrote in message
> news:7529F576-F256-4D37-BC64-3A39989E11CC[ at ]microsoft.com...
> > 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
>
>
Re: Outlook Recurence
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 8/22/2006 3:51:55 PM
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" <lg[ at ]discussions.microsoft.com> wrote in message
news:FF60DDA4-276F-4D04-98F4-1D8C304044BF[ at ]microsoft.com...
[Quoted Text]
> 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
> ?

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net