![]() |
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
|
|||
|
|||
![]()
Hi,
While i delete MailItem ( myMailItem.Delete() ) should i also call ReleaseComObject, and is it good idea to call Application.DoEvents after deleting item?? please review the code snippets: ................ ........... ............. mailItem.Delete(); Application.DoEvents(); Marshal.ReleaseComObject(mailItem); mailItem = null; ...................... .............................. is it right way ??? TNX in advance; |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
MailItem flags | Gary E. | Outlook and VBA | 8 | January 18th 07 12:11 AM |
How to Add a MailItem to a Folder | Ron | Outlook and VBA | 2 | January 10th 07 08:53 PM |
MailItem Folder Path | Fox via OfficeKB.com | Outlook and VBA | 1 | July 7th 06 02:39 PM |
verify and delete mailitem | Joanne | Outlook and VBA | 8 | June 13th 06 11:38 PM |
How can I create a MailItem that displays like a received MailItem ? | Clive | Outlook - Using Forms | 0 | February 27th 06 04:14 PM |