|
-
April 25th, 2006, 06:52 AM
#1
TextStream.WriteLine - NewLine problem
Hallo
I'm using VB scripting object to output some text to a file, something like this.
Code:
Dim fp as TextStream
...
fp.WriteLine( "some text" )
fp.WriteLine( "more text" )
The problem appears on a different PC where my programm is installed. Generated text is written as one line in Notepad, with box-character instead of a NewLine.
I have checked in HEX editor, and there is a difference in NewLine character that VB has added on the end of a WriteLine().
On my PC, "some text" is followed with hex 0D 0A
On another PC, "some text" is followed only with hex 0A.
Any idea what's going on here?
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
|