daveydave400 Posted September 19, 2005 Posted September 19, 2005 Alright I am making a constitution day program thing for school and I need to make multiple lines of the text that I am putting in a messagebox.show command. Does anyone know an easy way to do this or a way to do it at all, my teacher doesnt even know how. So any help would be appreciated! :D Quote
SonicBoomAu Posted September 20, 2005 Posted September 20, 2005 First off welcome. Let me know if I am reading this correct or not. You want to have multiply line of text in a message box? If so this is what I use MessageBox.Show("First Line" & Chr(10) & _ "Second Line" & Chr(10) & _ "Third Line" & Chr(10) & "Forth Line", _ "Title", MessageBoxButtons.OK, MessageBoxIcon.Error) The Chr(10) basic starts a new line. Hope this helps Quote Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
daveydave400 Posted September 20, 2005 Author Posted September 20, 2005 Sweet thanks man that works, maybe my teacher will give me extra credit. P.S. Sonic Rules (Sega Genesis Games) Quote
thenerd Posted September 20, 2005 Posted September 20, 2005 or Environment.newline Or vbcrlf or... uhh.. a bunch of other ways that I don't feel like saying now. Quote
SonicBoomAu Posted September 20, 2005 Posted September 20, 2005 Thanks for that thenerd. I knew that there was a better way (.Net way) of doing it I just could remember what it was. or Environment.newline Quote Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
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.