No, not unless you write code that hangs Outlook or that starts Outlook with
no UI and keeps it running. Synch software does that. But that won't prevent
the user from closing the UI portion of Outlook.
BeforeDelete is at the item level only and will only fire in an open item
when that item is deleted using the File menu in the open item. There is
nothing else equivalent unless you are using Outlook 2007.
--
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
"Ivica Muruzovic" wrote in message
...
Is there a way to prevent outlook 2007 from closing and can I get
event beforeDelete for mailItem on application level