Hello
I have a question about the file.exists method.
Is it possible to use that method to check for an empty folder?
For example :
I tried it that way, but I always get false (meaning no file found) even if there are actually files.
I want to prevent the user to overwrite existing file or to try to handle empty folders.
Thanks
Thierry
I have a question about the file.exists method.
Is it possible to use that method to check for an empty folder?
For example :
B4X:
if file.exists (FolderName, "*.txt") then
' code if exists
else
' code if no txt file found
endif
I tried it that way, but I always get false (meaning no file found) even if there are actually files.
I want to prevent the user to overwrite existing file or to try to handle empty folders.
Thanks
Thierry