![]() |
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 |
#14
|
|||
|
|||
![]()
OK so for example if I get a list of contacts like
GetNamespace("MAPI").GetDefaultFolder(OlDefaultFol ders.olFolderContacts).Items; and I use it, do I need to release it when I am done with these items? Also if I say: object item = GetFolderFromId(entry, store); do I need to release this item and garbage collect everytime when I am done with it? rog Ken Slovak - [MVP - Outlook] wrote: No, not really. It's a matter of looking over each line of your code with a microscope and checking for creation of implicit variables (from using compound dot operators instead of explicitly declared variables for each dot operator), making sure everything is explicitly released instead of relying on things to go out of scope and other best practices. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Deleted email not going to Deleted Items folder | techie_comps | Outlook - General Queries | 1 | February 27th 06 05:59 PM |
2 different Deleted Items folders?? | Al Clark | Outlook - General Queries | 1 | February 21st 06 10:49 AM |
Inbox, Sent Items & Outbox in Deleted Items in Outlook 2003 & OWA with Exchange | splounx | Outlook - General Queries | 1 | February 17th 06 03:22 AM |
Recover Deleted Items | Paul Johnson | Outlook - General Queries | 1 | February 9th 06 04:10 PM |
how to clear deleted items? | [email protected] | Outlook - General Queries | 3 | January 16th 06 03:36 PM |