|
-
May 10th, 2001, 06:18 AM
#1
Runtime Error # 70
Hello Friends,
I have a program line
kill (path) & "test.bmp"
which gives a runtime error 70, what could be the reason and how to over come it.
I have ensured that file exist in the directory.
if I create an EXE of the same I get either Runtime error 70 or Dr.Watson error.
regards,
Ravi
-
May 10th, 2001, 06:44 AM
#2
Re: Runtime Error # 70
It could be because the file is read only try setting it's attributes to normal before you kill it
SetAttr (path) & "test.bmp",vbNormal
-
May 10th, 2001, 07:58 AM
#3
Re: Runtime Error # 70
Permission denied (Error 70) is the error description. Just ensure that you have access to delete that file or the file is not locked by any other processes. Another thing, why 'kill (path) & "test.bmp"'? and not 'kill path & "test.bmp"'?
-Cool Bizs
Good Luck,
-Cool Bizs
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
|