MarkItZero Posted April 28, 2003 Posted April 28, 2003 Hello, I have a long string that I use in a MsgBox. I want to insert some sort of 'new line' code in order to print the statement on multiple lines. Any Suggestions? Thanks Quote
Gizmo001 Posted April 28, 2003 Posted April 28, 2003 Msgbox("First line" & vbcrlf & "Second line") Quote
*Gurus* divil Posted April 28, 2003 *Gurus* Posted April 28, 2003 MessageBox.Show("First line" & Environment.NewLine & "Second line") Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
hog Posted May 3, 2003 Posted May 3, 2003 Alternatively: messagebox.show("First Line" & ControlChars.CrLf & "Second Line") Quote My website
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.