472,331 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

Carriage return in label

Is there a way to put a carriage return between tex in a label? Neither
ControlChars.CR and vbCR seem to work.

Thanks,
Nathan
Nov 21 '05 #1
4 10725
Nathan wrote:
Is there a way to put a carriage return between tex in a label?
Neither ControlChars.CR and vbCR seem to work.


Try ControlChars.CrLf or vbCrLf.

--

(O) e n o n e
Nov 21 '05 #2
"Nathan" <nk*********************@softhome.net> schrieb:
Is there a way to put a carriage return between tex in a label? Neither
ControlChars.CR and vbCR seem to work.


Use 'ControlChars.NewLine' or 'Environment.NewLine' instead. Windows uses
'ControlChars.CrLf' as new line string, but other operating systems may use
other strings.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Thanks, fellas

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
"Nathan" <nk*********************@softhome.net> schrieb:
Is there a way to put a carriage return between tex in a label? Neither
ControlChars.CR and vbCR seem to work.


Use 'ControlChars.NewLine' or 'Environment.NewLine' instead. Windows uses
'ControlChars.CrLf' as new line string, but other operating systems may
use other strings.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
I don't know if its right according to these other posts but I use chr(13).
--
--Eric Cathell, MCSA
"Nathan" <nk*********************@softhome.net> wrote in message
news:eb*************@tk2msftngp13.phx.gbl...
Is there a way to put a carriage return between tex in a label? Neither
ControlChars.CR and vbCR seem to work.

Thanks,
Nathan

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Canes_Rock | last post by:
The information posted at: ...
2
by: Andrew Chanter | last post by:
I have a VBA function that returns a string including "vbcr" (VB Carriage Return) to seperate a list into multiple rows, eg Item1 & vbcr & Item2 &...
1
by: chrissmith_76_Fed_Up_With_Spam | last post by:
Hello all, I am using Access 2002, with file format of Access 2000, and am experiencing a problem. I have a subform that is shown in datasheet...
2
by: eagleofjade | last post by:
I am trying to import data from a Word document into an Access table with VBA. The Word document is a form which has various fields. One of the...
5
by: Dixie | last post by:
Can I program a label with a carriage return to put the 2nd part of the label on a new line. The only way I can see of doing this is to convert the...
3
by: Dinsdale | last post by:
I have an xml file that is read into an object using serialization. One of the objects has a string field called delimeter that I want to contain a...
4
by: Waldy | last post by:
Hi there, I am reading a string from a web.config file and displaying it in a label on an .ASPX page. I want a carriage return in the string so...
11
by: evenlater | last post by:
My db allows the user to send email via CDO. The body of the email is determined in code. I have built an email form with To, CC and Subject lines...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.