473,434 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

richtextbox vbcrlf

it seems that in richTextBox there is not Vbcrlf ???

what is ?

Nov 23 '05 #1
6 3246

Hi,

Look for System.Environment.NewLine or \n

-Altaf
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"ucasesoftware" <uc***********@hotmail.fr> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
it seems that in richTextBox there is not Vbcrlf ???

what is ?

Nov 23 '05 #2
Not sure about VbCrLf, but this should work fine:

RichTextBox1.Text = "1" & Microsoft.VisualBasic.ControlChars.CrLf & "2"

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"ucasesoftware" <uc***********@hotmail.fr> escribió en el mensaje
news:11*********************@g14g2000cwa.googlegro ups.com...
it seems that in richTextBox there is not Vbcrlf ???

what is ?

Nov 23 '05 #3
im not sure, but shouldnt the keyword "vbnewline" work?
--
-iwdu15

Nov 23 '05 #4
"iwdu15" <iw****@discussions.microsoft.com> schrieb:
im not sure, but shouldnt the keyword "vbnewline" work?


Yes, it should work, but its value is the same as 'vbCrLf'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 23 '05 #5
i kno its a lil off topic, but whats the difference between "vbnewline" and
"vbCrLf"?
Nov 23 '05 #6
"iwdu15" <iw****@discussions.microsoft.com> schrieb:
i kno its a lil off topic, but whats the difference between "vbnewline" and
"vbCrLf"?


The only difference is the name.

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

Nov 23 '05 #7

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

Similar topics

1
by: Jesper | last post by:
Hi, Is it possible to scroll a RichTextBox programmatically to a given text selection in it, such that the selected text becomes viewable. regards. Jesper.
3
by: Daniel von Fersen | last post by:
Hi, I have a Funtion Function addLine(ByVal text As String, ByVal color As Color) RichTextBox1.SelectionColor = color RichTextBox1.AppendText(": " + text + vbCrLf)
7
by: Richard | last post by:
When you give focus to a RichTextBox, then it goes to the textCursor, but i don't want to give the richtextbox focus, cause there is being written a lot in it, and I have to do something else at...
0
by: steve | last post by:
Hello, I have been working on this piece of code that's supposed to read from a file - transform - preview and finally save the transformed data. I can read the file and with...
2
by: Just Me | last post by:
I insert text in a RichTextBox ending each line with vbCrLf. I think when I search the RichTextBox text I do not find any CR's. In the Text property is the end of line char a LineFeed? Are...
1
by: shachar | last post by:
hi all. i'm appending lines to my RichTextBox. can i append each line in a different color? how?
1
by: tulasi | last post by:
I am placing textbox controls and combo box controls on richtext box and 2 command buttons on form control. after executing the application i'll place some text into textbox controls and select a...
1
by: Lespaul36 | last post by:
I am writing lan chat program and want the messages to be color coded for sent/recieved...you know the standard idea. I cannot seem to get the richtextbox to keep the color. I do a recieve and...
3
by: gttby | last post by:
Please Help , I am trying to output text in different lines in a richtextbox the vbCrlf seems not work... below is an e.g of code txtitemisedbill.Text = "Smile:-" & vbCrLf txtitemisedbill.Text...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.