![]() |
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
|
|||
|
|||
![]()
Hello,
I have written an Outlook Add-in in C# for Outlook 2003. I have added a delegate/event handler for the Outlook.Application.ActiveExplorer.Close event. With in the event procedure, I am doing a check for a flag, if the flag is set to true, I want to cancel the closing event and popup a message box to the user and leave the outlook window active. How do I do this? Thanks in advance for any suggestions. |
#2
|
|||
|
|||
![]()
The Explorer.Close event cannot be canceled. If you get that event and open
a new Explorer that might work but I'm sure it would tick off users trying to close Outlook. I'd uninstall an application that did that to me. -- 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 "Nathan" wrote in message ... Hello, I have written an Outlook Add-in in C# for Outlook 2003. I have added a delegate/event handler for the Outlook.Application.ActiveExplorer.Close event. With in the event procedure, I am doing a check for a flag, if the flag is set to true, I want to cancel the closing event and popup a message box to the user and leave the outlook window active. How do I do this? Thanks in advance for any suggestions. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to access java application from Outlook? | Old_Mortality | Add-ins for Outlook | 0 | May 24th 06 02:55 PM |
cancelling a resource | newadmin | Outlook - General Queries | 0 | May 23rd 06 04:12 PM |
How to write new calendar event from internet application? | jhajko via OfficeKB.com | Outlook - Calandaring | 2 | May 9th 06 04:56 PM |
New Outlook.Application throws FileNotFoundException | Sue | Outlook and VBA | 10 | April 6th 06 07:51 AM |
How to remove a meeting from one calendar without cancelling it? | Pat@kmg | Outlook - Calandaring | 0 | March 29th 06 05:12 PM |