Carriage Return and Line Feed Syntax

  • Thread starter Thread starter Captain Frog
  • Start date Start date
C

Captain Frog

Hi All,

Could anyone tell or point me to the correct syntax for a carriage return
and line feed? I've tried vocal in a fixed size array and all I get is a
single line text box even though the multiline property is set to true VB
Express 05. Thanks in advance,

Regards,
Robert
 
Hi,

In addition to Terry

Or as the designer does it in Version 2005
chrW(13) & chrW(10)

I use forever the true VB Net code

VBCRLF

I hope this helps,

Cor
 
Captain said:
Could anyone tell or point me to the correct syntax for a carriage
return and line feed? I've tried vocal in a fixed size array and all
I get is a single line text box even though the multiline property is
set to true VB Express 05. Thanks in advance,

There's also Environment.NewLine, which I suppose would generate different
characters depending on the platform if/when the .NET framework is
implemented on them.

Andrew
 
Howdy All,

Thanks for your feedback, it is very helpful. I learned something new.
Hopefully, I'll remember it later on when I REALLY need to. In my original
post, I said I used vocal. I mistyped. I actually used vbCrLf. The error in
my program boiled down to a variable I had mistyped. I had typed a variable
(i = 1), when it should have been (i + 1). That and resizing the form did
wonders. Thanks again for the feedback and maybe one morning soon, I'll be a
real programmer.

Regards,
Robert
 
Back
Top