Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » (VB) new line in a textbox
Closed Thread
Old 10-17-2007, 07:09 PM   #1 (permalink)
 
Junior Techie

Join Date: Nov 2005

Location: Greece > Athens

Posts: 50

StorM_GmA

Default (VB) new line in a textbox

hello all!

i'm having troubles to find out how to make the program to write in a new line
in a textbox...

I am using a textbox which is only for output and I need sometimes to print
things in a new line above the previous stuff...
let's say we have a textbox named txtText...if I want to print something in it
I should type

txtText.Text = "example"

what should I add to this code to force it to the next line?

Thanks!
__________________
sine Diabolo,nullus Dominus...

CPU: P4@3.2GHz
RAM: SuperTalent 1Gb kit (2x512) @ 800FSB
MOB: Asus P5B Deluxe
VGA: Albatron 7600GS
HDD: SATA W/D 40Gb / SATA W/D 120Gb
P/S: Enermax 460W
StorM_GmA is offline  
Old 10-17-2007, 08:00 PM   #2 (permalink)
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: (VB) new line in a textbox

Try System.Environment.NewLine
jaeusm is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Command Line Help..... Ethereal_Dragon Linux, BSD, other *nixes & Open Source Software 4 10-15-2007 02:40 AM
Want to get VB Max Power Programming Discussions 2 10-03-2007 09:02 AM
Multiple DSL connections on one line? restule Computer Networking & Internet Access 4 09-01-2007 05:09 PM
Create a new line on visual basic text box Mike9182 Programming Discussions 4 08-12-2007 06:35 PM
AMD cuts prices across its desktop line maroon1 Building, Buying, or Upgrading High Performance PC Systems 12 04-10-2007 03:57 PM