I have a vb6 application that prints string to a text file. my string is very huge. Althogh my application works, Does doing such thing is logical? I mean something like bad use of memory or something else? and if i’m in wrong way what do you recommend?
My code is something like that
Print #1, “THE BIG BIG STRING”
As long as all the data can be contained in the string without producing memory errors, it should be. However, if you are concatenating several values together to form your big string, you could just write them to the file individually.
I.e., turn this:
To this: