Solved

ascii enter - quick easy question

Posted on 2004-08-16
4
672 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now