Open Attachment with Code


T

Tobias Ortmann

Hey all,

is it possible to open an attachment with code? In my custom form is always
a msg-file attached an i want to display that item by clicking a command-
button. I can't see any possiblities to handle this with oom but possibly
this can be done with cdo???

I have to open the attached item not a copy of the item from the file
system.

thanks in advance


cu
tobias
 
Ad

Advertisements

T

Tobias Ortmann

Try saving it to the file system, then opening it with the
Namespace.CreateItemFromTemplate method.


If I open the attachment with a double click, modify the body and then
close the attachment the changes are permanently stored in the attachment.
If i save it to the file system first, i only can modify the copy in the
file system, not the original attachment.
So i need a method to open an attachment in the same way the double click
opens it.




cu
tobias
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top