using VbNewLine
-
Hi friends, In my project i create a text file in runtime and upload to another FTP. My text file formate is HD8/21/200715:30:4300000008 RC8/21/200715:30:43 hfghg 000000009477276 5gfgf fdgdfg AA1 1AA UK hfghg 34534 CR8/21/2007 AS hfghg 5gfgf fdgdfg AA1 1AA 34534 CA CO00001OS 0001000011.0011011011cm AD fgdfg dfgdfg fgdfg AA1 1AA 3443 United Kingdom TR00000008 I have tryed System.Environment.NewLine, vbLf, Chr(13 + 10), vbLrLf, vbCr, ControlChars.NewLine Local its came rite formate but in live the formate will not come like this. the square character will come. What is the right way to inject a new line in a stringbuilder object
Praveen Kumar.R
-
Hi friends, In my project i create a text file in runtime and upload to another FTP. My text file formate is HD8/21/200715:30:4300000008 RC8/21/200715:30:43 hfghg 000000009477276 5gfgf fdgdfg AA1 1AA UK hfghg 34534 CR8/21/2007 AS hfghg 5gfgf fdgdfg AA1 1AA 34534 CA CO00001OS 0001000011.0011011011cm AD fgdfg dfgdfg fgdfg AA1 1AA 3443 United Kingdom TR00000008 I have tryed System.Environment.NewLine, vbLf, Chr(13 + 10), vbLrLf, vbCr, ControlChars.NewLine Local its came rite formate but in live the formate will not come like this. the square character will come. What is the right way to inject a new line in a stringbuilder object
Praveen Kumar.R
System.Environment.NewLine is correct. If it's been uploaded, then how is it being rendered, it sounds like a rendering problem.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
System.Environment.NewLine is correct. If it's been uploaded, then how is it being rendered, it sounds like a rendering problem.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Local its came rite formate but in live the formate will not come like this. HD02/08/200716:34:40:4000000008[]CR03/08/07/2007[]CR03/08/07/2007 the square character will come.
Praveen Kumar.R
-
Local its came rite formate but in live the formate will not come like this. HD02/08/200716:34:40:4000000008[]CR03/08/07/2007[]CR03/08/07/2007 the square character will come.
Praveen Kumar.R
If you are rendering in a web browser, the Environment.NewLine might not have any effect unless encompassed within a PRE tag. You may like to replace them with BR tags to get that line break effect.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips