![]() |
Is this a bug?
Hi All.
I have a strange problem. I am using C# to create an Addin that prompts before a user deletes a calendar item and cancels if necessary. I have this working on my default calendar and another calendar I created in my mailbox. I tie into the SelectionChange event and if the Item being selected is an appointment, I keep a local var of it and register its BeforeDelete event to ask my question. The probelm is when I open another users calendar and view it side by side with my calendar. I know that the selectionchange event is firing for the other users calendar and my BeforeDelete event is registered but when I delete the item on that calendar I never get my prompt. I have double checked all this using OutLookSpy. I can see where items on my calendar always trigger the beforedelete event while items on the other users folder never trigger this event. This seems to be the only event the other users folder items don't trigger. I am using OL2003 with the 2003 PIA's. Any suggestions would be great. |
Is this a bug?
Am Wed, 19 Apr 2006 07:36:02 -0700 schrieb Frank Wisniewski:
I don´t know anythign about C# but for the BeforeDelete event: That only fires if the item is opened. It doesn´t if you delete an item directly from an explorer. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hi All. I have a strange problem. I am using C# to create an Addin that prompts before a user deletes a calendar item and cancels if necessary. I have this working on my default calendar and another calendar I created in my mailbox. I tie into the SelectionChange event and if the Item being selected is an appointment, I keep a local var of it and register its BeforeDelete event to ask my question. The probelm is when I open another users calendar and view it side by side with my calendar. I know that the selectionchange event is firing for the other users calendar and my BeforeDelete event is registered but when I delete the item on that calendar I never get my prompt. I have double checked all this using OutLookSpy. I can see where items on my calendar always trigger the beforedelete event while items on the other users folder never trigger this event. This seems to be the only event the other users folder items don't trigger. I am using OL2003 with the 2003 PIA's. Any suggestions would be great. |
All times are GMT +1. The time now is 07:03 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com