View Single Post
  #3  
Old April 17th 09, 08:36 PM posted to microsoft.public.outlook.program_addins
Tiago Pina[_2_]
external usenet poster
 
Posts: 1
Default Get selected option in recurrence range group

Thanks for your reply!

REgarding this scenario where I have an appointment that recurs every week
for 10 times stored in outlook.
My recurrence pattern will allways have an end date even if the "End by:
DATE" option is not selected. Is this right?

I cannot know if I have to store to my object the get_Ocurrences or the
get_PatternEndDate value, because get_PatternEndDate will always have a value
(default).
Its a little bit awkward. :S



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

You cannot read values from that dialog at all. You can only guess what they
were based on the final recurrence pattern that's saved in the item.

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


"Tiago Pina" Tiago wrote in message
...
Hi,

I am facing a small problem here... I have my recurrence range group where
I
can select where or how my recurrence ends ("no end date", "end after x
occurrences" or end by DATE).

When Im populating my recurrence pattern object Outlook puts some default
values either in the "occurrences" field and the "end by" field, even if
"no
end date" is selected.

My question is: how can I know what radio button is selected or how can I
overcome the default values inserted by Outlook?

get_NoEndDate method only excludes the other two options if it is
checked...
if get_NoEndDate is false there is still two possible values the
occurrences
or the end date... i still don't know how to see if which one of them is
selected...

Help pls!?

Example:
I select "End after: 5 occurences", so I only want that value, not the
default date on the "End by field".

Hope you guys understand my problem and thanks in advance.

Tiago



Ads