Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / October 2004

Tip: Looking for answers? Try searching our database.

Open Appointment Recurrence Dialog with code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
the_christl - 19 Oct 2004 16:53 GMT
Hi,

I would like to ask a question concerning the "Appointment Recurrence"
dialog (the one which opens, when I select the Action -> Recurrence...
menu item of an appointment item).

Is there a possibility to write some code in an addin, which
automatically opens this dialog for the user (as it is e.g. done when
you open a 'New Recurring Appointment' with a right mouse click on you
calendar)

thanx in advance
bye
chris
Ken Slovak - [MVP - Outlook] - 20 Oct 2004 15:14 GMT
No, that dialog can't be directly opened using code.

You can open it by using the Execute method for the Recurrence
CommandBarButton in the Actions menu of an open appointment item but you
won't have any control over the dialog and can't retrieve values from it
other than by reading the recurrence pattern after the dialog is closed. A
tip is to always check for IsRecurring before you access
GetRecurrencePattern because that method creates a recurring item even if
the item wasn't recurring previously.

You could also call Execute on the New Recurring Appointment in the Actions
menu of an Explorer that is displaying a Calendar folder.

Signature

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

> Hi,
>
[quoted text clipped - 10 lines]
> bye
> chris
the_christl - 21 Oct 2004 15:57 GMT
OK, I see, I think that answer will help me to proceed
thanks Ken

But there is another point which is not clear for me related to this
dialog

Is there any possibility to recognize, that the user has opened an
appointment via the 'New Recurring Appointment' menu item, _before_
that item (and the dialog) is shown;
e.g. can I somehow find out that this menu item has been used or -
another idea - if I intercept the item_open event, is there any
indication (unfortunately _I_ didn't find any).

thanks in advance
chris



> No, that dialog can't be directly opened using code.
>
[quoted text clipped - 23 lines]
> > bye
> > chris
Ken Slovak - [MVP - Outlook] - 22 Oct 2004 16:39 GMT
If there is any way it would be to check IsRecurring either in Item_Open or
NewInspector. It's also possible there are specific MAPI properties that are
different, you can easily check that using OutlookSpy (www.dimastr.com)

Signature

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

> OK, I see, I think that answer will help me to proceed
> thanks Ken
[quoted text clipped - 11 lines]
> thanks in advance
> chris
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.