cjungbauer
09-11-2009, 13:17
Hello
Im using the following code to kill a file
fn = APP_SourcePath + "log\h2o_use_" & admin(1) & ".txt"
If FILE_EXISTS(fn) = TRUE Then
MsgBox(0, fn & "file exists")
n = FILE_KILL (fn)
If n = 0 Then
MsgBox(0, fn & "file is gone")
Else
MsgBox(0, " " & n & " error ")
EndIf
EndIf
the error returned is 70
thank you
Charly Jungbauer
Im using the following code to kill a file
fn = APP_SourcePath + "log\h2o_use_" & admin(1) & ".txt"
If FILE_EXISTS(fn) = TRUE Then
MsgBox(0, fn & "file exists")
n = FILE_KILL (fn)
If n = 0 Then
MsgBox(0, fn & "file is gone")
Else
MsgBox(0, " " & n & " error ")
EndIf
EndIf
the error returned is 70
thank you
Charly Jungbauer