-
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
-
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
-
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