
Quote from YASIN on January 19, 2023, 3:45 pmI need to save the variables in a text file and then load them
How can I do this?
Similar to this command is used in the VisualNeoWin, which I am attaching the picture of
I need to save the variables in a text file and then load them
How can I do this?
Similar to this command is used in the VisualNeoWin, which I am attaching the picture of
Uploaded files:

Quote from luishp on January 19, 2023, 6:52 pm@yasin do you really need to save them in an external file? I mean what about using LocalStorage?
If you store all of your variables in a single object, it's very easy to save and load all the values:CreateEmptyObject [myvars] SetVar [myvars.var1] "some value" SetVar [myvars.var2] "another value" SetVar [myvars.var3] "a different value" neoSetItem "storedVars" [myvars] ""And this will retrieve all the values:
neoGetItem "storedVars" [myvars] ""If you really need and external file you can save them server side using neoPhp or allow the user to download them using VarToLocalFile.
Regards.
@yasin do you really need to save them in an external file? I mean what about using LocalStorage?
If you store all of your variables in a single object, it's very easy to save and load all the values:
CreateEmptyObject [myvars] SetVar [myvars.var1] "some value" SetVar [myvars.var2] "another value" SetVar [myvars.var3] "a different value" neoSetItem "storedVars" [myvars] ""
And this will retrieve all the values:
neoGetItem "storedVars" [myvars] ""
If you really need and external file you can save them server side using neoPhp or allow the user to download them using VarToLocalFile.
Regards.

Quote from YASIN on January 20, 2023, 4:38 pmUnfortunately, this method does not work for me
Because visualneo win does not support Persian language, I planned to use visualneoweb, which did not work :(
Unfortunately, this method does not work for me
Because visualneo win does not support Persian language, I planned to use visualneoweb, which did not work :(


Quote from dariux on March 22, 2023, 9:03 amI would also be very interested in how I could do it in the easiest way. I would like to save all the variables from the android application to a file. And later, after sending this file, read the data into the win application. These would be reporting applications. In the VisualNeoWin I did this many times. But how to do it with VisualNEO Web? Thank you.
I would also be very interested in how I could do it in the easiest way. I would like to save all the variables from the android application to a file. And later, after sending this file, read the data into the win application. These would be reporting applications. In the VisualNeoWin I did this many times. But how to do it with VisualNEO Web? Thank you.

Quote from luishp on March 22, 2023, 7:20 pm@dariux how do you plan to send the file? By email? Why not store the information in a shared online database?
@dariux how do you plan to send the file? By email? Why not store the information in a shared online database?

Quote from dariux on March 22, 2023, 8:58 pmI planned to have several users generate reports in the android applications. And store it to some cloud, dropbox or same in different files. Synchronization would be possible by linking both side folders with an external app. Windows side will receive files in different folders according to users.I think in my case, this would be the easiest way, because I have already done a similar application with neo for win.The ideal would be to read and write in lines. But maybe there is an easier way? Thank you
I planned to have several users generate reports in the android applications. And store it to some cloud, dropbox or same in different files. Synchronization would be possible by linking both side folders with an external app. Windows side will receive files in different folders according to users.I think in my case, this would be the easiest way, because I have already done a similar application with neo for win.The ideal would be to read and write in lines. But maybe there is an easier way? Thank you

Quote from luishp on March 23, 2023, 10:16 pm@dariux I think I don't understand what you want to do. Just keep in mind that the only problem saving files when working with webapps are security retrictions. You can check neoFileSystem plugin or neoPhp plugin, but probably a shared database is the best option.
Best regards.
@dariux I think I don't understand what you want to do. Just keep in mind that the only problem saving files when working with webapps are security retrictions. You can check neoFileSystem plugin or neoPhp plugin, but probably a shared database is the best option.
Best regards.