471,349 Members | 1,236 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,349 software developers and data experts.

Error while saving attachment

I am trying to save an attachment from Inbox folder to a specified file using
VB.Net and MS Outlook 11.0 Object Library. I am getting an error message
saying you don’t have appropriate permission to perform this operation as
follow:

System.Runtime.InteropServices.COMException (0xD0770005): Cannot save the
attach
ment. You don't have appropriate permission to perform this operation.
at Outlook.Attachment.SaveAsFile(String Path)
at RetrieveMessageFromInbox.Module1.Main() in C:\Documents and
Settings\pbang
a\My Documents\Visual Studio
Projects\RetrieveMessageFromInbox\Module1.vb:line 4

Why is this error coming up and how can I fix this? Thanks

Jul 21 '05 #1
0 2572

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by S. Graefner | last post: by
reply views Thread by Job Lot | last post: by
13 posts views Thread by =?Utf-8?B?emlyb3M=?= | last post: by
1 post views Thread by robinsiebler | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.