The values I provided are hard coded at various points as I am writing strings to the file. For example 1C(hex) is a field separator and 0A(hex) is inserted at the end of every line.
If you were converting memo fields into hex strings, it would be
easy. If you were reading a file and converting its contents into
hex it would be easy.
If I don't know where input the comes from, and in what format,
it is not easy.
where <FS> is the field separator 1C(hexadecimal) that I need to insert onto the file I'm writing to. Simarlarly <LF> is the end of line separator 0A(hexadecimal).
I don't know what you mean when you say you don't know where the input comes from. If I knew what the character conversion of the hex values are then that would solve my problem and I could replace <FS> & <LF> with those values.
"DOM" and TempList.Fields("TLGRef").Value are just string values. They are irrelevant to my problem of trying to hard code a string value which is equal to 1C(hexadecimal) and the other hexadecimal values I have provided in the initial thread.
All I need to know is what these hexadecimal values are in string format: