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

Application.Reminder Event



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 18th 08, 11:50 AM posted to microsoft.public.outlook.program_addins
Stuart Parker
external usenet poster
 
Posts: 15
Default Application.Reminder Event

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  
Old September 18th 08, 03:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Application.Reminder Event

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  
Old September 18th 08, 03:45 PM posted to microsoft.public.outlook.program_addins
Stuart Parker
external usenet poster
 
Posts: 15
Default Application.Reminder Event

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

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


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