
Quote from albertomeyer on November 16, 2021, 2:25 pm2GB is a DELPHI limit.
2GB is a DELPHI limit.


Quote from Darbdenral on October 24, 2022, 10:20 pmSo I have an html file that has over 80,000 characters. One of the lines in the file has over 25,000 characters, it's not uncommon to see huge line lengths in computed html.
What would be the best way to put a large file or string in a variable from a plugin?
I've tried to copy the entire string using SetVar or saving to a file then using FileToVar with no luck. VisualNeoWin either complains there is not enough actual parameters "No quote" .. That's because it truncated the string.. or there's only one character transferred to the variable..
thanks!
So I have an html file that has over 80,000 characters. One of the lines in the file has over 25,000 characters, it's not uncommon to see huge line lengths in computed html.
What would be the best way to put a large file or string in a variable from a plugin?
I've tried to copy the entire string using SetVar or saving to a file then using FileToVar with no luck. VisualNeoWin either complains there is not enough actual parameters "No quote" .. That's because it truncated the string.. or there's only one character transferred to the variable..
thanks!

Quote from rcohen on October 25, 2022, 12:10 am@darbdenralHave you tried to instead save out to a zip file? I will also guess that you do not need to NAME the file *.zip that you can choose whatever extension you wish if you need to stealth it, but ... this is just a guess. But I'll guess the zip file would work.

Quote from Darbdenral on October 25, 2022, 12:39 amQuote from rcohen on October 25, 2022, 12:10 am@darbdenralHave you tried to instead save out to a zip file? I will also guess that you do not need to NAME the file *.zip that you can choose whatever extension you wish if you need to stealth it, but ... this is just a guess. But I'll guess the zip file would work.Hi @rcohen,
Yes, I could do that too but it limits usability.. I want to provide the source to the user by a string variable so they could do as they wish in their project. Parsing, etc.. But It seems like it's not possible with VisualNeoWin in this situation. For now I have created a form with a memo from the plugin to display it, which temporarily works but not as intended. I can also save the source to a temp file and just hand off the path/filename in a variable too, and problem ;). But my original intention was to create a variable with the source contained.
Thanks!
Quote from rcohen on October 25, 2022, 12:10 amHave you tried to instead save out to a zip file? I will also guess that you do not need to NAME the file *.zip that you can choose whatever extension you wish if you need to stealth it, but ... this is just a guess. But I'll guess the zip file would work.
Hi @rcohen,
Yes, I could do that too but it limits usability.. I want to provide the source to the user by a string variable so they could do as they wish in their project. Parsing, etc.. But It seems like it's not possible with VisualNeoWin in this situation. For now I have created a form with a memo from the plugin to display it, which temporarily works but not as intended. I can also save the source to a temp file and just hand off the path/filename in a variable too, and problem ;). But my original intention was to create a variable with the source contained.
Thanks!

Quote from DaviddeArgentina on October 25, 2022, 2:42 amhttps://archive.visualneo.com/viewtopic.php?p=11219584&hilit=variable+size+limit#p11219584
https://archive.visualneo.com/viewtopic.php?p=11219584&hilit=variable+size+limit#p11219584

Quote from Darbdenral on October 25, 2022, 4:27 amQuote from DaviddeArgentina on October 25, 2022, 2:42 amhttps://archive.visualneo.com/viewtopic.php?p=11219584&hilit=variable+size+limit#p11219584
@daviddeargentina,
Ok, so confirmed .. The following code worked successfully reading and writing 126,000 characters .. That means the variable contains every character but the VisualneoWin form designer does not.
FileToVar "[TempDir]web.dat" "[TXT]" FileWrite "[TempDir]web.txt" "All" "![TXT]"But then what can I display the variable above [TXT] with? I know I can put it in a web browser and view as text, anything else doesn't work..
thanks!
Quote from DaviddeArgentina on October 25, 2022, 2:42 amhttps://archive.visualneo.com/viewtopic.php?p=11219584&hilit=variable+size+limit#p11219584
Ok, so confirmed .. The following code worked successfully reading and writing 126,000 characters .. That means the variable contains every character but the VisualneoWin form designer does not.
FileToVar "[TempDir]web.dat" "[TXT]" FileWrite "[TempDir]web.txt" "All" "![TXT]"
But then what can I display the variable above [TXT] with? I know I can put it in a web browser and view as text, anything else doesn't work..
thanks!