Thread: Close item
View Single Post
  #3  
Old June 17th 09, 10:32 AM posted to microsoft.public.outlook.program_vba
Richard Elgert
external usenet poster
 
Posts: 3
Default Close item

retValue = System.Runtime.InteropServices.Marshal.ReleaseComO bject(oMsg )
GC.Collect()

OK I did add the above 2 lines and the 250 limit error is gone.... but I am not sure I fully understand... (will your book clarify)

and a follow up, I need to browse all folders and sub-folders in a users mailbox. .
Submitted using http://www.outlookforums.com
Ads