I want to write a file to a variable. I have a database the has a record the can only be extracted to a file. I want to extract it to a variable. It has some funky formatting that gets messed when it is put to a file.

vb6

Thanks in advance