|
-
Dec 4th, 2012, 12:18 PM
#3
Re: Permission Denied When Trying To Delete A File
 Originally Posted by SamOscarBrown
Found nothing wrong with your code...works fine for me. I am working in the app.path, to which I have read/write privileges.
Are you using a path to which you might not have those privileges? Try app.path first. If that doesn't help, use VB's Sleep command (say 1 sec) before the kill command. (Include this line in your declarations for Sleep: Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)
I checked the path and it's good. I tried sleep like you recommended, I even tried it with 10 seconds, but it didn't help.
CodeBank contributions: Process Manager, Temp File Cleaner
 Originally Posted by SJWhiteley
"game trainer" is the same as calling the act of robbing a bank "wealth redistribution"....
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
|