Hi everybody,
I have this funny problem:
Lets' start from a file named "0000.txt" present on the device.
After executing the code below, the log report:
file exist
true
file still exist
But the file has really been deleted and no longer exist ...
Can you explain that ?
This is the code:
If File.Exists(File.DirRootExternal,"0000.txt") Then
Log("file exist")
End If
Dim q As Boolean
q=File.Delete( File.DirRootExternal,"0000.txt")
Log(q)
If File.Exists(File.DirRootExternal,"0000.txt") Then
Log("file still exist")
End If
I have this funny problem:
Lets' start from a file named "0000.txt" present on the device.
After executing the code below, the log report:
file exist
true
file still exist
But the file has really been deleted and no longer exist ...
Can you explain that ?
This is the code:
If File.Exists(File.DirRootExternal,"0000.txt") Then
Log("file exist")
End If
Dim q As Boolean
q=File.Delete( File.DirRootExternal,"0000.txt")
Log(q)
If File.Exists(File.DirRootExternal,"0000.txt") Then
Log("file still exist")
End If
Last edited: