![]() |
| 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. |
|
|||||||
| Tags: events, folder, hooking, items, mail |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I need to create folder "Test Folder" and catch all events about changing
count of item in this folder. I wrote folowing code: MSOutlook.MAPIFolder root = Utility.Folder.GetRootFolder(this.Session); MSOutlook.MAPIFolder testFolder = Utility.Folder.CreateFolder(root, "Test Folder"); testFolder.Items.ItemAdd += new delegate { MessageBox.Show("This is never displayed!!!") }; Then I launch Outlook and see my created folder. Try to drag from Inbox some mail and drop into my folder, but nothing changed. What's I'm doing incorrect? |
| Ads |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot copy this folder as it may contain private items | carlstev | Outlook - General Queries | 2 | March 9th 06 11:03 PM |
| Junk E-mail folder - is there a way to create a rule to delete items in this folder older than X days? | Jaycee | Outlook - General Queries | 1 | February 22nd 06 05:54 PM |
| How do I get sent items to be shown in my sent items folder? | Sue B | Outlook - General Queries | 8 | January 28th 06 08:46 PM |
| Items delivered to deleted folder | jim | Outlook - General Queries | 3 | January 20th 06 06:08 PM |
| To Field blank in Sent Items folder | Dave Murton | Outlook - General Queries | 1 | January 11th 06 04:59 PM |