|
-
Jan 27th, 2000, 02:28 AM
#1
Thread Starter
Hyperactive Member
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.
-
Jan 27th, 2000, 12:38 PM
#2
Thread Starter
Hyperactive Member
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?
-
Jan 27th, 2000, 12:45 PM
#3
Frenzied Member
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
[email protected]
-
Jan 27th, 2000, 12:50 PM
#4
Thread Starter
Hyperactive Member
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).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|