![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi, just a quick one....
If I hook into this event, will my code completely replace the default reminder action (displaying that dialog box), or will the dialog box appear after my code has completed? If the latter, any way to stop the dialog appearing? Cheers Stu |
Ads |
#2
|
|||
|
|||
![]()
Application.Reminder is just an event that fires when a reminder comes due.
It has nothing to do with the reminders window and you can't cancel that from that event. You can access the Application.Reminders collection and handle the Reminders.BeforeReminderShow() event, which has a Cancel argument that if set to true will cancel display of the reminders window (and prevent the reminder from firing so that Application.Reminder won't fire in that case. The ReminderFire() event passes the Reminder object that fires the event, but that happens after BeforeReminderShow(), so if you cancel the reminder there you wouldn't get ReminderFire(). BeforeReminderShow() doesn't pass you the actual reminder that would fire. For that you'd need to iterate the Reminders collection and see which reminder would be firing. -- 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 "Stuart Parker" wrote in message ... Hi, just a quick one.... If I hook into this event, will my code completely replace the default reminder action (displaying that dialog box), or will the dialog box appear after my code has completed? If the latter, any way to stop the dialog appearing? Cheers Stu |
#3
|
|||
|
|||
![]()
Cheers Ken.
Here's some background as to why I asked the question.... We use Richmond ServiceDesk, which can receive service requests via email, and log them in the system. We have a number of tasks which we perform for our managed clients on a recurring basis. We would like service requests to be logged in Richmond whenever one of these tasks is due. The idea being toyed with is this: Install Outlook on our monitoring workstation, which is on 24/7. Keep Outlook running. Enter these tasks into a calendar and set recurrence and reminders on those events. When those events are due, outlook will fire a reminder. When a reminder is triggered, invoke some custom code which interrogates the item which the reminder is for. Create a suitably formatted email message, and fire it off to the ServiceDesk email address. Ideally, the standard outlook reminder dialog will never be shown. Stu "Ken Slovak - [MVP - Outlook]" wrote in message ... Application.Reminder is just an event that fires when a reminder comes due. It has nothing to do with the reminders window and you can't cancel that from that event. You can access the Application.Reminders collection and handle the Reminders.BeforeReminderShow() event, which has a Cancel argument that if set to true will cancel display of the reminders window (and prevent the reminder from firing so that Application.Reminder won't fire in that case. The ReminderFire() event passes the Reminder object that fires the event, but that happens after BeforeReminderShow(), so if you cancel the reminder there you wouldn't get ReminderFire(). BeforeReminderShow() doesn't pass you the actual reminder that would fire. For that you'd need to iterate the Reminders collection and see which reminder would be firing. -- 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 "Stuart Parker" wrote in message ... Hi, just a quick one.... If I hook into this event, will my code completely replace the default reminder action (displaying that dialog box), or will the dialog box appear after my code has completed? If the latter, any way to stop the dialog appearing? Cheers Stu |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to open existing calendar event from .NET application? | robinbittner | Outlook - Calandaring | 5 | July 16th 08 07:20 AM |
How to open existing calendar event from .NET application? | Brian Tillman | Outlook - Using Forms | 4 | July 16th 08 07:20 AM |
Cancelling Outlook.Application.ActiveExplorer.Close event? | Nathan | Add-ins for Outlook | 1 | September 8th 06 07:14 PM |
getting calendar event reminder for deleted event | [email protected] | Outlook - General Queries | 3 | September 4th 06 02:11 PM |
How to write new calendar event from internet application? | jhajko via OfficeKB.com | Outlook - Calandaring | 2 | May 9th 06 03:56 PM |