View Single Post
  #5  
Old March 16th 09, 08:21 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Attachment not display when add to mail

Don't disable the other events and try saving the item after you add the
attachment.

--
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


"Ashish" wrote in message
...
I dont save item when i open it. But in my outlook addin when i open a item
and add an attachment in item_open many item events called like item_open,
item_write, item_read, item_attachmentadd,item_beforeattachmentsave etc
If i disable item_write( avoid writing) then it other events for this item
are stop. Should i disable item_write. But if i disable it then how to
enable other events.
"Ashish" wrote in message
...
No. I dont save the the item after adding attachment.
I add the attachment in Item_Open() eveny
item-Attachments-Add(filaname);
When i double click a mail attachment display in mail. WHen i right click
and select open then it's not display.


Ads