B4A Question file.writelist with Type defined variables - Rusty    
Mar 6, 2019 = "HPPrintServicePluginlogo.png"
PrinterList.Add(NewPrinter2)
… 'I write the list to a file
File.WriteList(Starter.ConfigUser.Folder, Starter.ConfigUser.FileName, PrinterList)
… 'Then I read it
PrinterList = File.ReadList(Starter.ConfigUser.Folder, Starter.ConfigUser.FileName)
… '...
link:
PrinterConfig.Initialize(Starter.ConfigUser.Folder, Starter.ConfigUser.FileName, False)
PrinterConfig...
link: File.WriteList
https://www.b4x.com/android/forum/pages/results/?query=File.writelist
Check...
B4A Question Using correctly File.WriteList - GiovanniPolese    
Jun 2, 2024Hi.
My problem is to write on disk various Lists, in sequence, on same file. The saving sequence is:
File.Delete(InternalWorkDir,FileUndo)
File.WriteList(InternalWorkDir,FileUndo,Layers)
File.WriteMap(InternalWorkDir,FileUndo,colorMap)
b=rvs.ConvertObjectToBytes(layerMap.Size) ' just an integer
File.WriteBytes(InternalWorkDir,FileUndo,b)
The list, the map and the integer...
link: knows why you want everything to be in a single file or, better yet, what the problem is in having...
B4A Question File.WriteList -> convert to string -> why? - KMatle    
Jan 26, 2017I've never asked for the reason :-)
As known File.WriteList will convert the values to...? (Maybe because the written file is a textfile?)...
link: File.ReadList reads a text file and returns a list with its lines.
File.WriteList writes a list to...
link: Writing a List as it is.
I guess in B4A 1 a list just could contains Strings. I dont know. I cant an...
link: :-) The question is: Why is there a method (File.WriteList) when this method (does not work properly). Properly...
B4J Question File.writelist too many parameters??? - Cableguy    
Oct 27, 2016This is as a simple code as one can have:
Dim myList As List
myList.Initialize
myList.Add("#############################")
myList.Add("")
myList.Add("Created the " & DateTime.Date(DateTime.Now))
File.WriteList(File.DirData,"config.ini...
link: I had forgotten all about the missing parameter in DirData and was mislead by the "too many parameters" alert!
thanks EREL!...
link: the $date{DateTime.Now}"$)
File.WriteList(File.DirData ("app"), "config.ini", myList...
B4A Question Help Please. Can ListView,File.WriteList ,File.ReadList work together? - giga    
Jan 10, 2014.WriteList(File.DirRootExternal, "test.txt", List1)
End If
Activity.AddView(ListView1, 0....WriteList(File.DirRootExternal, "test.txt",List1)
I must be missing something....
I believe...
link: Thanks DonManfred that did the trick. I appreciate your help....
link: start counting from 0!
For i=0 To List1.Size-1
If the size is 3 then the entries are: 0, 1, 2
May...
link: I am updating the List1 now but running into an error: java.lang.IndexOutOfBoundsException: Invalid ...
B4A Question QUESTIONS About: File.WriteList(FilePath, FileName, MyList) - margret    
Mar 22, 2012Hello, I need to know some details about the following command:
File.WriteList(FilePath, FileName, MyList)
1..Will this command complete it's write function if it is followed by ExitApplication?
2..Does it complete it's write job before the following command is executed, like Dim A As String?
3..Is it per say, Modal or Modeless?
I did not see any Flush option to force...
link: 1. Yes.
2. Yes.
3. Not sure what you mean.
x. WriteList (like the other similar File.Write methods...
B4A Question Application Error when use File.writeList to DirAssets - YIM bunchhat (first post)    
Jun 8, 2019Ok now it work thank you...
link: Dir.Assets is read only. Choose another location / Dir ... ie: File.WriteList(File...
link: Hello everyone could you help to write text file to DirAssets?...
B4A Question Files created with File.WriteList command not visible in Explorer - RDCrozier (first post)    
Jul 14, 2017Thanks again Erel!...
link: I guess i could just check for the file, and delete it if it exists?
I think...
link: Thanks Erel!
That worked a treat.
As an aside, if the file already exists from a previous export...
link: Add this code: https://www.b4x.com/android/forum/threads/force-media-scanner-on-deleted-file.25794...
B4A Question WriteList / ReadList with ExternalFile - GiovanniPolese    
Aug 15, 2023 to use TextWriter.WriteList. Therefore :
Sub WriteFilesWrk(FF As List)
Dim Ist As OutputStream...)
Txw.WriteList(FF)
Txw.Close
Ist.Close
End Sub
private Sub ReadFilesWrk
Dim EE...
link: of the device to hold all the files?
Yes, the speed of SD card access varies greatly according to...
link: of the device to hold all the files?
Yes, the speed of SD card access varies greatly according to...
link: choice for having a dynamic management of thousands of files. I did this, and actually the problem is not...
B4A Question File.WriteList problem - DonManfred (first post)    
Jul 11, 2015   
(1 reaction)a listview is not a list...
link: File.WriteList(File.DirRootExternal & "/AlarmS/","memory.txt",lstAlarms...
Page: 1  
2  
3  
4  
5  
6  
7