473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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

System.Runtime.InteropServices.COMException (0xD0770005): Cannot save the
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
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 2642

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: scrimp | last post by:
How would I go about retriving an email message and stripping out the attachment into a file. I have seen examples where they would read in the file and delete the attachment and replace it with...
by: S. Graefner | last post by:
Hello Folks, I'm a Relitive newbie to the blood sport of MS ACCESS. I have designed and built a database with multiple, Related, tables. The db works well, more by good luck then good planing I...
by: Karen Grube | last post by:
Hi! I hate to bother you all with this, but I don't know how best to approach a particular task. Here's the deal: Once a month I personally (that is, in my own personal inbox on my...
by: Job Lot | last post by:
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...
by: OliviuG | last post by:
I have export to xls functionality in asp.net web form, implemented like this: Response.Clear(); Response.AddHeader("Content-Disposition", "attachment; filename=InvChangeHistory.xls");...
by: =?Utf-8?B?emlyb3M=?= | last post by:
We have a need, after a user fill out a form, to save that page (aspx) and to send it as attachment by email , and to save it to a database for later retrieval any ideas how to save the aspx...
by: valentju | last post by:
Hi, I am using VB 6 to do the following. I am currently saving a jpg image to a sql db, I read the jpeg via an OLE in binary tye 1 format and store in to the sql db. Attached is a portion of the...
by: MSwanston | last post by:
Hi I need some help with saving retreiving data from the cache, and how best to structure my code. FYI am working in VS2005/under .NET2 Framework. Ok, we have a series of reports that get run via...
by: robinsiebler | last post by:
I'm trying to figure out how to save an e-mail attachment from a POP3 mailbox. I've scoured the web, but -none- of the examples I have found have actually worked. For instance, in this example:...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.