Solved

ascii enter - quick easy question

Posted on 2004-08-16
4
689 Views
Last Modified: 2007-12-19
I have a multiline text box with scroll bars.

What is the code to add a carriage return?

Me.txtBox.Text += "minutes remaining..." + CarriageReturn    <---  What do I use for CarriageReturn?
Me.txtBox.Text += ....

chr(13) didn't work....
puts a little square box ...
0
Comment
Question by:kamleshmistry
  • 3
4 Comments
 
LVL 18

Expert Comment

by:DotNetLover_Baan
ID: 11813641
Hi there...

Me.txtBox.Text += VbCrLf
0
 
LVL 18

Expert Comment

by:DotNetLover_Baan
ID: 11813645

Me.txtBox.Text += "minutes remaining..." + VbCrLf
0
 
LVL 18

Accepted Solution

by:
DotNetLover_Baan earned 400 total points
ID: 11813659
combination of   Chr(13) + Chr(10),  is same as VbCrLf
-Baan
0
 

Author Comment

by:kamleshmistry
ID: 11813687
thannks!
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question