RE: Line Formatting

  • From: Darko Pogačić <darko.pogacic@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 7 May 2010 10:55:27 +0200

You can use vbCrLf constant, but I am not sure which ascii value represents
line by vbCrLf constant, but I am using chr() function, and representing
ascii value 13, its ascii symbol for new line recognized by microsoft Word.

Also ascii 10 gives a new lin, but I am not sure wich ascii symbol is for
new line given by vbCrLf constant.

 

  _____  

From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Bryan Schulz
Sent: Friday, May 07, 2010 3:32 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Line Formatting

 

hi,

 

are people using this now instead of vbcrlf?

 

Bryan Schulz

----- Original Message ----- 

From: Celia Rodriguez <mailto:celia-rodriguez@xxxxxxxxxxxxx>  

To: programmingblind@xxxxxxxxxxxxx 

Sent: Wednesday, May 05, 2010 10:53 PM

Subject: RE: Line Formatting

 

Hi,

 

I think this might help.

 

            TextBox.Text += your string + "\r\n";

 

The "\r\n" will give you a new line.

 

Hope it helps.

Celia

 

From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Darko Pogacic
Sent: Tuesday, May 04, 2010 11:41 AM
To: programmingblind@xxxxxxxxxxxxx
Subject: Line Formatting

 

            Hi there!

I am interesting how to make Visual Basic code to make a new line after a
number of characters (EG:5).

I have a RichTextBox control, and text inside.

I want to make a Visual Basic 6 code, wich o     n each 30 characters, puts
the rest of text into a new line.

 

Other related posts: