tufanv Expert Licensed User Longtime User Jun 24, 2014 #1 Hello, In my previous app this code works well but in my new app it doesnt work Code: Copy Dim pic As List pic = File.ReadList(File.DirAssets, "mek.txt") actairports.SetItems(pic) i have put mek.txt into files but it doesnot give any result while typing anything. Any ideas ?
Hello, In my previous app this code works well but in my new app it doesnt work Code: Copy Dim pic As List pic = File.ReadList(File.DirAssets, "mek.txt") actairports.SetItems(pic) i have put mek.txt into files but it doesnot give any result while typing anything. Any ideas ?
Erel B4X founder Staff member Licensed User Longtime User Jun 24, 2014 #2 Hard to say without seeing the project. Upvote 0
tufanv Expert Licensed User Longtime User Jun 25, 2014 #3 here isthe project Erel said: Hard to say without seeing the project. Click to expand... Attachments act.zip act.zip 324.3 KB · Views: 246 Upvote 0
LucaMs Expert Licensed User Longtime User Jun 25, 2014 #4 The file is corrupted. Use "Export as Zip" from Menu File Upvote 0
tufanv Expert Licensed User Longtime User Jun 25, 2014 #5 here it is : Attachments dd.zip dd.zip 7 KB · Views: 247 Upvote 0
LucaMs Expert Licensed User Longtime User Jun 25, 2014 #6 the text file is missing (ann.txt) Upvote 0
tufanv Expert Licensed User Longtime User Jun 25, 2014 #7 LucaMs said: the text file is missing (ann.txt) Click to expand... it is in the files folder ? Upvote 0
tufanv Expert Licensed User Longtime User Jun 25, 2014 #8 the zip file does not contain it but in my pc it exists. i used export as zip for you and it does not contain but in reality it exists and still not work :/ Upvote 0
the zip file does not contain it but in my pc it exists. i used export as zip for you and it does not contain but in reality it exists and still not work :/
tufanv Expert Licensed User Longtime User Jun 25, 2014 #9 putting the proect again with the file added .. Attachments 2.zip 2.zip 7.2 KB · Views: 254 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2014 #10 Don't ignore the warnings. They told you that you haven't added the file to files tab. The solution is to click on the Sync button. About the list issue. See the values with the debugger: You can see that there is an encoding issue. Either change the encoding to UTF8 or use TextReader to read the file with the correct encoding. Tip: use Notepad++ to edit the file and change the encoding. Upvote 0
Don't ignore the warnings. They told you that you haven't added the file to files tab. The solution is to click on the Sync button. About the list issue. See the values with the debugger: You can see that there is an encoding issue. Either change the encoding to UTF8 or use TextReader to read the file with the correct encoding. Tip: use Notepad++ to edit the file and change the encoding.