Suppressing reminders on Outlook startup

A

Alexey Gavrilov

Hello Everyone,

My application is written in C++ needs to access Outlook Address Book,
without showing UI of Outlook. In order to do that the application creates
the instance of Outlook and call its methods or properties. Everything is
fine, but ... If there is some overdue task in the Tasks folder with its
reminder set, the notification window appears half a minute after the
instance of Outlook has been created.

I can handle the Reminder event of the Application object. But, what should
be done in the handler in order to prevent the window with the list of
notifications from being displayed?

I know that this is VBA, but not C++ group. Nevertheless, my question is
rather about Outlook behavior, then client implementation using particular
development environment.

Thank you for your help.
 
K

Ken Slovak - [MVP - Outlook]

The Reminders collection has a BeforeReminderShow event that has a Cancel
argument. If you set that to True when the event fires the dialog won't be
displayed.
 
A

Alexey Gavrilov

Thank you.

Ken Slovak - said:
The Reminders collection has a BeforeReminderShow event that has a Cancel
argument. If you set that to True when the event fires the dialog won't be
displayed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top