Click here to Skip to main content
15,896,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi @ all..

does anyone know what's the difference between vbCrLf and New Line ?

greetz me
Posted
Comments
OdeJong 11-Apr-12 7:31am    
why you are going to see what's my question if you are not giving an answer? lol

vbCrLf - A carriage return and line feed [Chr(13) + Chr(10)]

vbNewLine - A platform-specific new line character, either [Chr(13) + Chr(10)] or [Chr(13)]
 
Share this answer
 
Comments
NewPast 11-Apr-12 8:21am    
In Windows file system they are the same
Dave Kreskowiak 11-Apr-12 9:43am    
It's not filesystem (NTFS) specific. It is platform (Windows) specific. Newline and Carriage Return sequences can also apply to the console.
Sergey Alexandrovich Kryukov 26-Dec-12 1:48am    
You are probably missing the fact that .NET (more exactly CLR) works not on Windows, but on other platforms where new line is different. For consistency, never use CR LF explicitly.

—SA
oke, thanks for your explanation
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900