• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 733
  • Last Modified:

ascii enter - quick easy question

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
kamleshmistry
Asked:
kamleshmistry
  • 3
1 Solution
 
DotNetLover_BaanCommented:
Hi there...

Me.txtBox.Text += VbCrLf
0
 
DotNetLover_BaanCommented:

Me.txtBox.Text += "minutes remaining..." + VbCrLf
0
 
DotNetLover_BaanCommented:
combination of   Chr(13) + Chr(10),  is same as VbCrLf
-Baan
0
 
kamleshmistryAuthor Commented:
thannks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now