Hi guys
To read the text of a .txt file in DefaultExternal and to read the list of all file in the directory I use the code shown below.
Why the File.ReadString instruction works fine and the File.ListFiles seams to read an empty list?
Note: archi is a variable containing the name of the file to be read
To read the text of a .txt file in DefaultExternal and to read the list of all file in the directory I use the code shown below.
Why the File.ReadString instruction works fine and the File.ListFiles seams to read an empty list?
code:
Dim x As String
Dim ld As List
ld.Initialize
x = File.ReadString(Main.rp.GetSafeDirDefaultExternal(""), archi)
ld=File.ListFiles(Main.rp.GetSafeDirDefaultExternal(""))
Note: archi is a variable containing the name of the file to be read
Last edited: