Error in reading Text Files

ankouny

Member
Joined
Jun 5, 2007
Messages
5
Programming Experience
1-3
Dear,
I am developing an application in vb.net 2005 that reads txt files and rewrites them in different place after deleting and updating some data from them.

the problem is for example:

line 1 : abcdefg
line 2 : hijlkl


Im adding the 2 lines to get abcdefghijkl
but when reading them it gives me abcdefg alone and the others alone in different line.
notice this new line is not visible in notepad (abcdefghijkl) but in wordpad is visible(abcdefg) NEWLINE (hijkl) .
how can i solve this problem.
by the way i tried to replace the chr(10) and chr(13) with "".
 
Obviously it is, but i suspect JuggaloBrotha is asking for the lines of code you use to read and write the txt file.
 
Back
Top