473,406 Members | 2,710 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,406 software developers and data experts.

Intro Question -- next line in textbox

I realize this is a very basic question, but I cannot figure out what to do
in VB.

if I have a TextBox called txtBoxOne, and I execute the line:
txtBoxOne.Text = "First Line of text"

I don't know how to make it go to the next line... as in C I would write:
"First Line of text \n "

I don't know what to do here in VB.

I would appreciate any help.
Thanks.
Dec 18 '05 #1
2 1447
txtBoxOne.Text = "First Line of text" & vbCrLf

"matthewtec" <ni****************@yahoo.com> wrote in message
news:OR***************@TK2MSFTNGP11.phx.gbl...
I realize this is a very basic question, but I cannot figure out what to do
in VB.

if I have a TextBox called txtBoxOne, and I execute the line:
txtBoxOne.Text = "First Line of text"

I don't know how to make it go to the next line... as in C I would write:
"First Line of text \n "

I don't know what to do here in VB.

I would appreciate any help.
Thanks.

Dec 18 '05 #2
Thanks.
"Terry Olsen" <to******@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
txtBoxOne.Text = "First Line of text" & vbCrLf

"matthewtec" <ni****************@yahoo.com> wrote in message
news:OR***************@TK2MSFTNGP11.phx.gbl...
I realize this is a very basic question, but I cannot figure out what to
do in VB.

if I have a TextBox called txtBoxOne, and I execute the line:
txtBoxOne.Text = "First Line of text"

I don't know how to make it go to the next line... as in C I would write:
"First Line of text \n "

I don't know what to do here in VB.

I would appreciate any help.
Thanks.


Dec 18 '05 #3

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

Similar topics

4
by: Vincent Yang | last post by:
I'm using Access 2002. My database is in Access 2000 format. I'm designing a form to collect responses to a 40-item questionnaire. I can fit four list boxes on a screen, so I plan to have 11 tab...
2
by: Chad | last post by:
I'm in an intro to VB.net class. I'm haveing trouble with this assignment, if anyone could help me please let me know. thanks! Coding Assignment 7-Chapter 8 OOP-CSCI-171 Intro to VB.NET ...
1
by: Rocketman | last post by:
I am trying to find out when i reach the next line when multiline is switched on and i DON'T PRESS ENTER TO GO TO THE NEXT LINE(lines method is there for that purpose). Is there any other method i...
6
by: Alex Bink | last post by:
Hi, I have a validating event on a textbox in which I want to prevent the user to leave the textbox without entering the right data. Only if he clicks on another specific control he is allowed...
1
by: trint | last post by:
How can I add text to the next line of a textbox without disturbing the previous line? Thanks, Trint
8
by: tshad | last post by:
Is there an easy way to control navigation from one textbox to another? I have 3 textboxes that happen to be in the same cell, but they are on the page vertically. There are 4 cells next to each...
0
by: Semajthewise | last post by:
Hi all. I'm starting on my next part of my teach myself vb program. What I am trying to do is on button click open a textfile showing the math as it would be done long hand. I started writing the...
6
by: shapper | last post by:
Hello, When styling a DIV as follows: <div id="intro" class="Intro">Some intro text</div> Should I use a class: ..Intro {...} Or:
1
by: tshad | last post by:
In my Web page in 2008, I have a textbox that is set up as: <asp:TextBox ID="txtStageDisplay" Height="300px" Width="300" Rows="20" runat="server"></asp:TextBox> I am trying to write out a...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
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...

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.