![]() |
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
|
|||
|
|||
![]() Is there a way to prevent outlook 2007 from closing and can I get event beforeDelete for mailItem on application level |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
You write: "There is nothing else equivalent unless you are using
Outlook 2007." I'm using Outlook 2007. Did you mean Outlook 2003? On Wed, 16 Apr 2008 09:30:06 -0400, "Ken Slovak - [MVP - Outlook]" wrote: 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. |
#4
|
|||
|
|||
![]()
No, I meant Outlook 2007. In that version there's a new event that's perfect
for what you want. The new Folder.BeforeItemMove event. The VBA signature is BeforeItemMove(Item As Object, MoveTo As Folder, Cancel As Boolean). The item is the object being moved/deleted, MoveTo is a Folder object if moving the item or null (Nothing) if deleting the item, and setting Cancel = true will cancel the operation before it occurs. -- 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 ... You write: "There is nothing else equivalent unless you are using Outlook 2007." I'm using Outlook 2007. Did you mean Outlook 2003? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 not closing | HJA | Outlook - General Queries | 15 | April 21st 08 01:33 PM |
Outlook 2007 'hangs' when closing | We No Speak | Outlook - Installation | 2 | April 7th 08 02:54 AM |
outlook 2007 not closing | [email protected] | Outlook - General Queries | 0 | November 2nd 07 04:37 PM |
How do I prevent Outlook 2007 from trying to load an uninstalled a | dayoff53 | Outlook - Installation | 2 | July 31st 07 03:22 PM |
Outlook 2007 crash on closing appointment window | NT | Outlook - Using Forms | 1 | September 24th 06 06:01 AM |