Results 1 to 5 of 5

Thread: .SaveAsFile - overwrite Read-only file

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2003
    Posts
    232

    .SaveAsFile - overwrite Read-only file

    I have written an outlook addin which takes attachments and saves them somewhere on the local machine. The problem is when the file is a read-only file then it gets saved as a read-only file and when I try to save another file with the same name i want it to overwrite it but it doesnt it gives me an access denied error.
    Is there an option in the saveAsfile method to save it as not read-only?
    ANY HELP WOULD BE GREATLY APPRECTIATED..
    THANKS.

  2. #2

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2003
    Posts
    232
    Thanks for your help.
    But still not working I am getting
    error #75 - Path/Access Error.

  4. #4

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jul 2003
    Posts
    232
    That worked, thanks!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width