|
-
Sep 12th, 2002, 05:52 PM
#1
Thread Starter
Hyperactive Member
Annoying runtime error :(
Because I have to close an app with the sendmessage API (with WM_DESTROY) I kill all instances and now the problem is that I want to delete the file I just killed... But my code keeps getting the runtime error 70: Permission denied when I do the Kill command!
Anyone got a solution for this? I can't just quit the application normally with the Killapp API... But I do need to kill it...
Greetz Pieter
-
Sep 12th, 2002, 06:07 PM
#2
It sounds like you are not closing the file before you are attempting to delete it.
-
Sep 12th, 2002, 06:40 PM
#3
Thread Starter
Hyperactive Member
Well... Like I just explained. I did! But I stopped it unusual! I have to do it like that! Or maybe an extension or something is using the prog's API's?
Greetz Pieter
Kind Regards,
Pieter
PS: If you found someone's answer helpful, please be so kind to rate that person.
Thanks.
-
Sep 12th, 2002, 07:55 PM
#4
Frenzied Member
u may try to use WM_CLOSE rather than WM_DESTROY.. to close the application. WM_DESTROY doesn't do the necessary cleanup
-
Sep 12th, 2002, 11:14 PM
#5
Addicted Member
hi
the error no: 70 appears when yu select a folder which DOES NOT HAVE THE WRITE OPTION ,AND YU TRY TO WRITE......
"No Write Access for the selected folder"
well, try to give the access rights for teh particular folder and then try ,
yu can check with FSO object .......
,,,,
SenthilVelan
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
|