• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 728
  • 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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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