Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Developer Outlook Addins > How to abort op...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1630 of 1746
Post > Topic >>

How to abort opening of attachments

by "jorgen.slettahjell@[EMAIL PROTECTED] " <jorgen.slettahjell@[EMAIL PROTECTED] > Dec 6, 2007 at 05:08 AM

I am intercepting the opening of an attachment with the
mailItem.AttachmentRead event, but no matter what I try to do in the
corresponding function, the attachment is still opened.

What I am trying to accomplish is this:
When the user clicks on the attachment, a dialog which displays the
content of the attachment appears.
The user might edit the text, and the original attachment is replaced
with the new and edited one.

In events like Open, Send and Close, the function takes a boolean
Cancel as a parameter, and all we have to do to abort the operation is
to set this to true. There is no such parameter in the for
AttachmentRead.

Any ideas?

(Using C# in VS2003 for OL2003)
 




 2 Posts in Topic:
How to abort opening of attachments
"jorgen.slettahjell@  2007-12-06 05:08:04 
Re: How to abort opening of attachments
"Ken Slovak - [MVP -  2007-12-06 08:53:12 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 16:15:13 CST 2008.