Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Can't Save Attachment (http://www.outlookbanter.com/outlook-using-forms/54656-cant-save-attachment.html)

pavan August 14th 07 12:28 PM

Can't Save Attachment
 
Hi,



I have made a small application which process Mail Items (Notes Items) and
save its properties in database. I have used outlook object model.It is
working fine but for one message it gives an error as below.



"Cannot open this item.Out of memory or system resources. Close some windows
or programs and try again."



Even this message also can't be open in outlook. I don't want this error
comes while processing.So I don't want to process this message from my
application. Is there any property of the message from which I can detect
that it can't be processed? If any one knows please reply.



Ken Slovak - [MVP - Outlook] August 14th 07 03:36 PM

Can't Save Attachment
 
Please provide more information.

What type of message is causing the error?

What does your code look like?

Are you testing the items you retrieve to make sure they are the correct
types? If you are scanning the Inbox for example there may be items that
aren't IPM.Note. Inbox can hold Post items, task requests, meeting requests,
etc. You also may run into problems with encrypted or signed messages if you
try to process them.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Pavan" wrote in message
...
Hi,



I have made a small application which process Mail Items (Notes Items) and
save its properties in database. I have used outlook object model.It is
working fine but for one message it gives an error as below.



"Cannot open this item.Out of memory or system resources. Close some
windows
or programs and try again."



Even this message also can't be open in outlook. I don't want this error
comes while processing.So I don't want to process this message from my
application. Is there any property of the message from which I can detect
that it can't be processed? If any one knows please reply.





All times are GMT +1. The time now is 08:20 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com