Computing.Net > Forums > Programming > vb.net MsgBox next line

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

vb.net MsgBox next line

Reply to Message Icon

Name: intrepid_dave
Date: June 22, 2005 at 05:04:13 Pacific
OS: xp pro
CPU/Ram: barton 3200, 1 gig ra,
Comment:

When i'm putting in information into a message box i can't go to the next line in the editor (visual studio .net). So this means i have to type everything in the next line.

I know how to display things on different lines, i.e. vbNewLine , but when i'm coding it i don't want to have one big long line.

For Example:
This:

MsgBox("bla line1" & vbNewline & "blaline2")

To Be This on the editor:

MsgBox("bla line1" & vbNewline
& "blaline2")



Sponsored Link
Ads by Google

Response Number 1
Name: intrepid_dave
Date: June 22, 2005 at 05:06:45 Pacific
Reply:

Hi, sorry, "So this means i have to type everything in the next line"

i meant

"So this means i have to type everything on the same line"

can anyone help?

:D




0

Response Number 2
Name: SN
Date: June 22, 2005 at 07:02:39 Pacific
Reply:

Use the line continuation character '_':

MsgBox("bla line1" & vbNewline _
& "blaline2")

-SN


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


List traverse, batch (NT) File Comparison



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: vb.net MsgBox next line

Adding tabs in a string in vb.net www.computing.net/answers/programming/adding-tabs-in-a-string-in-vbnet/11853.html

vb.net and db www.computing.net/answers/programming/vbnet-and-db/14385.html

vb.net enumerate files from folder www.computing.net/answers/programming/vbnet-enumerate-files-from-folder/14728.html