PDA

View Full Version : Multiple lines of text in Visual Basic



martystudio
December 24th, 2002, 09:59 AM
I have this problem, i have to input this

Hello

How are you

Hey



in a multine text box in VB 6.0 USING Code an example is

mainbox.Text = "hello"

only i have to put different things on different lines, how can i do this?:( :*( :( :-\ :( :*( the following dont work, i v tired

-----------------------------------------------------------------------------------
mainbox.Text = "Hello\nHowareyou\nHey"

mainbox.Text = "Hello"
mainbox.Text += "How are you"
mainbox.Text += "Hey"

so, dont post those cause they dont work