Solved

ascii enter - quick easy question

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 40
Vb.net dynamic formulas in runtime 11 63
SQL syntax in VB.net 5 30
Get Top Visible Row of Datagridview 6 28
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

27 Experts available now in Live!

Get 1:1 Help Now