Click to See Complete Forum and Search --> : Conversion
netSurfer
Jan 27th, 2000, 01:28 AM
I figured it out. All I had to do was let the Print function do it. It automatically add the linefeed. I was putting it in a second time. Thanks for the help.
netSurfer
Jan 27th, 2000, 11:38 AM
I need to insert hex values 0A and 0D into a string and then into a file. What is the best way to do this?
Buzby
Jan 27th, 2000, 11:45 AM
I take it you are trying to insert a carriage return and line feed - try using
String = string + vbcrlf + string...
that ought to work.
------------------
Mark "Buzby" Beeton
VB Developer
BuzbyB@HotMail.Com
netSurfer
Jan 27th, 2000, 11:50 AM
I need to read data from a web-form database file. It puts hex 0D and 0A at the end of each line. I convert the file into a database. When I convert back, I need to write those 2 codes back in at the end of each line. The problem I'm having is that if I simply put a carriage return or linefeed, it seems to put 0A 0D 0A instead. I'm not sure why.
That actually brings me to another question, when I write back to a file, how can I make it continue at the end of the existing text, I dont' want it to start a new line. Any ideas?
Open file for Append access read write as freefile
doesn't work, every entry is a new line.
[This message has been edited by netSurfer (edited 01-27-2000).]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.