Click to See Complete Forum and Search --> : Formatting Text


programming fool
July 1st, 2001, 03:34 PM
What is the carriage return and line feed in Visual Basic?

deghost
July 1st, 2001, 04:14 PM
vbCr, vbLf, there is also vbCrLf

----------
The @host is everywhere!
----------

praveen b p
July 2nd, 2001, 02:03 AM
When you say Carriage Return it is as good as pressing Enter key in the keyboard. But when you say Line Feed you are just coming to the fresh line but you are not pressing enter key.

To do this in VB we don't have to define them because these keys are come along with VB as built Constants. So if you want to use Carriage return you should use vbCr and when you want to use Line Feed you shoudl use vbLf.

bpp

programming fool
July 2nd, 2001, 07:51 AM
I hope you don't think that you are smart by knowing that... What you said about carriage return and line feed is common knowledge you know...