Outputting LineFeed and Binary Zero
Hi again,
I am using the following code to output a string to a file.
Code:
intFileNum = FreeFile
Open dlnPath For Output As #intFileNum
transactContents = finPath & "\orig\" & _
Right$(inputDLN, 4) & vbLf & _
tifList2 & "^" & inputDLN & "^1"
Print #intFileNum, transactContents
Close #intFileNum
At the end of the string, when I print out the ASC values of the string, I am getting 10 0 13 10 0. A linefeed, binary zero, cursor return, linefeed and binary zero.
I need only 10 0 to be output, a linefeed and binary zero.
Any ideas?
Thanks.