E
eranhef
Hi all,
i have created an outlook 2007 VSTO add-in.
In the add-in i'm creating a new calendar folder with 2 events:
1) Folder.BeforeItemMove event
2) Foldr.Items.ItemAdd event
the code is:
_sstFolder.BeforeItemMove += new
Microsoft.Office.Interop.Outlook.MAPIFolderEvents_12_BeforeItemMoveEventHandler(FolderBeforeItemMove);
_sstFolder.Items.ItemAdd += new
Microsoft.Office.Interop.Outlook.ItemsEvents_ItemAddEventHandler(Items_ItemAdd);
_sstFolder is Outlook.Folder and not Outlook.MapiFolder.
also i have a custom task pane in my add-in.
The Problem:
When i'm pressing the custom task pane, the 2 event of the folder is
disappearing!!
So, after i'm pressing the custom task pane i cannot create a new
appointment or delete an appointment.
Can anyone help me??
Tnx, Eran Hefer.
i have created an outlook 2007 VSTO add-in.
In the add-in i'm creating a new calendar folder with 2 events:
1) Folder.BeforeItemMove event
2) Foldr.Items.ItemAdd event
the code is:
_sstFolder.BeforeItemMove += new
Microsoft.Office.Interop.Outlook.MAPIFolderEvents_12_BeforeItemMoveEventHandler(FolderBeforeItemMove);
_sstFolder.Items.ItemAdd += new
Microsoft.Office.Interop.Outlook.ItemsEvents_ItemAddEventHandler(Items_ItemAdd);
_sstFolder is Outlook.Folder and not Outlook.MapiFolder.
also i have a custom task pane in my add-in.
The Problem:
When i'm pressing the custom task pane, the 2 event of the folder is
disappearing!!
So, after i'm pressing the custom task pane i cannot create a new
appointment or delete an appointment.
Can anyone help me??
Tnx, Eran Hefer.