|
-
Apr 10th, 2006, 05:34 AM
#1
Thread Starter
New Member
Premision denied saveasfile kill...
Hi
i am trying to save an attachment for temproray use and then delete it afterwards and i keep getting premission denied error when i want to delete the attachment :/
For Each eItem In Inbox.Items
If eItem.UnRead = True Then
For Each atmt In eItem.Attachments
If Right(atmt.FileName, 3) = "xml" Then
atmtP = "C:\" & atmt.FileName
atmt.SaveAsFile atmtP
'NOW WHEN I TRY TO DO THIS FOR EXAMPLE
kill atmtP ' i get premision denied error
any help would be great 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|