File. Delete (Dir As String, FileName As String) As BooleanDeletes the specified file. If the file name is a directory then it must be empty in order to be deleted.Returns true if the file was successfully deleted. Files in the assets folder cannot be deleted. B4A Question Force media scanner on deleted file - lymey    Jan 29, 2013 /album and the image cannot be displayed. But its not very elegant. Log("Delete the original file: " & filepath & filename) File.Delete(filepath, filename) 'try and force...I am writing an app that deletes an image from the Camera directory. That works fine, and my app can re-list the files and the file is no longer present. BUT the problem is that the device....MEDIA_SCANNER_SCAN_FILE", "file://" & File.Combine(filepath, filename)) Dim p As Phone p... B4A Question File.DirInternal files deleted when uninstall - Scantech    Aug 30, 2019 I save 3 files to File.DirInternal. When i uninstall the app and reinstall it with B4A, 2 of those files are deleted and 1 of them is still present. Why is it behaving this way?
SpeedLimiter.txt is the one not deleted
Sub Service_Create
StateManager.LoadStateTrip
StateManager...
Try
If File.Exists(File.DirInternal, "Trip.txt") = True Then... Italian File.delete - Fulvio75    Dec 29, 2022 Ciao ho un problema, copio un file da GD nella cartella locale dell'applicazione b4j su PC, fino a ieri lo potevo copiare e cancellare, oggi lo copio e se tento di cancellarlo con file.delete... B4A Question File.Delete not working - bgsoft    Apr 2, 2013 if you want to delete.
I want to delete with File.Delete but it does not work, it does not erase and....Get(0),15%x,15%y)
DoEvents
Sleep(200)
Resultado=File.Delete(Directorio... B4A Code Snippet Delete specific files according to their type from a specific folder simple short code - alfaiz678    Jun 19, 2022   (2 reactions)
Dim Dir As String=File.DirInternal
For Each n As String In File.ListFiles(Dir)
Log(n)
If n.Contains(".pdf") Then
If File.Exists(Dir,n) Then
File.Delete(Dir,n)
Log("del")
End If
End If
Next... Wish File.Rename and File.Delete(into trashcan) - MarkusR    Oct 22, 2018 i missing a rename in File.
also delete into windows/linux trashcan.... B4J Question Archiver Lib - has a handle to file - can not delete... - Harris    Nov 24, 2022 a handle on it.
Log(" --- file did not pass unzip - delete it if we can: " & currdel... (could not delete it) - no other files (over 1800 of them) could not get processed.
I go to look at data... Wish [BANano] TranspilerOption.DeleteFileAfterCompilation(FilePath) - Mashiane    May 9, 2022 Hi there Is it possible to include a transpiler option like this, which will delete files from the publish folder after compilation of the project? Thanks in advance.... B4A Question File.Delete all files in a folder - peacemaker    Mar 23, 2016 File.Delete(File.DirInternal, "*.*")
File.Delete(File.DirInternalCache, "*.*"...(File.DirInternal) that no files deleted :(... B4A Question How to write or delete files on external sd with KITKAT - cb56    Feb 7, 2014 Hi, with KITKAT seems that non-system app can't write to external sd card. Using "File.Copy" I get this error: libcore.io.ErrnoException: open failed: EACCES (Permission denied) I noticed for example that the developer of QuickPic (the famous app to view images) in the latest release has solved the problem. Is there any solution with b4a? Thanks... Page: 1   2   3   4   5   6   7   |