Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > MsgBox


Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2004, 10:38 PM
Killerme Killerme is offline
Newcomer
 
Join Date: Feb 2004
Posts: 23
Default MsgBox


How do I make more then one line on a message box? Here's my current code:

Code:
MsgBox "Created by: Andrew on 2/16/04", vbDefaultButton1, "Calculator 1.1"

EDIT: Sorry what I want the message box to say is:
"Created by:
Andrew on 2/16/04"

Last edited by Killerme; 02-16-2004 at 10:43 PM.
Reply With Quote
  #2  
Old 02-16-2004, 10:44 PM
jumentous's Avatar
jumentous jumentous is offline
Contributor
 
Join Date: Sep 2003
Location: Australia
Posts: 612
Default

just like you would with a string by using vbCrLF

Code:
MsgBox "Created by: Andrew on 2/16/04" & vbcrlf & "Line2", vbDefaultButton1, "Calculator 1.1"

EDIT:

Well just change the location of the new line

Code:
MsgBox "Created by:" & vbcrlf & "Andrew on 2/16/04", vbDefaultButton1, "Calculator 1.1"
__________________
"In The Land of The Blind the One-Eyed Man is King."

Jumentous
Reply With Quote
  #3  
Old 02-16-2004, 11:05 PM
Killerme Killerme is offline
Newcomer
 
Join Date: Feb 2004
Posts: 23
Default

Thx a lot. I think u helped me last time with the does not equal <>
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
tic tac toe game using arrays, strings.. jen5533 .NET Game Programming 14 01-15-2004 10:44 AM
how to regonize... Twisted_Ice General 5 01-08-2004 03:07 PM
How can I check for duplicates before saving a new record GOTzMADsKILLz Database and Reporting 19 08-15-2002 11:56 AM
Timers jemerico General 7 05-30-2001 05:30 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->