473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to add a new line in messsagebox?

messagebox.show(" ????")
how to write.
thx
Nov 20 '05 #1
7 1550
KJM
MsgBox("Hello" & vbCrLf & vbCrLf & _
"How are you?." & vbCrLf & vbCrLf & _
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
"Do you wish to continue?", MsgBoxStyle.YesNo)
If Ans = vbNo Then
Exit Sub
Else
'do this action
End If

or maybe

MsgBox("the Packers will win the super bowl.", MsgBoxStyle.Information)


MsgBox("This is a test",
"¤s¤t" <ra**********@pcmail.com.tw> wrote in message
news:O0**************@TK2MSFTNGP11.phx.gbl...
messagebox.show(" ????")
how to write.
thx

Nov 20 '05 #2
Ans doesn't work?
"KJM" <sc****************************@yahoo.com> wrote in message
news:e3**************@TK2MSFTNGP09.phx.gbl...
MsgBox("Hello" & vbCrLf & vbCrLf & _
"How are you?." & vbCrLf & vbCrLf & _
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
"Do you wish to continue?", MsgBoxStyle.YesNo)
If Ans = vbNo Then
Exit Sub
Else
'do this action
End If

or maybe

MsgBox("the Packers will win the super bowl.", MsgBoxStyle.Information)


MsgBox("This is a test",
"¤s¤t" <ra**********@pcmail.com.tw> wrote in message
news:O0**************@TK2MSFTNGP11.phx.gbl...
messagebox.show(" ????")
how to write.
thx


Nov 20 '05 #3
KJM
I dont understand what does not work?

"Chris Barrell" <ch***********@bigpond.com> wrote in message
news:e1*************@tk2msftngp13.phx.gbl...
Ans doesn't work?
"KJM" <sc****************************@yahoo.com> wrote in message
news:e3**************@TK2MSFTNGP09.phx.gbl...
MsgBox("Hello" & vbCrLf & vbCrLf & _
"How are you?." & vbCrLf & vbCrLf & _
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
"Do you wish to continue?", MsgBoxStyle.YesNo)
If Ans = vbNo Then
Exit Sub
Else
'do this action
End If

or maybe

MsgBox("the Packers will win the super bowl.", MsgBoxStyle.Information)


MsgBox("This is a test",
"¤s¤t" <ra**********@pcmail.com.tw> wrote in message
news:O0**************@TK2MSFTNGP11.phx.gbl...
messagebox.show(" ????")
how to write.
thx



Nov 20 '05 #4
Cor
Hi KJM,

Do not take attention to it, I correct it beneath, but the sample from you
was about vbCrlf not about the msgbox and that was a correct answer.

If MsgBox("Hello" & vbCrLf & vbCrLf & _
"How are you?." & vbCrLf & vbCrLf & _
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
"Do you wish to continue?", MsgBoxStyle.YesNo) = vbNo Then
MessageBox.Show("Who are the Packers?" & vbCrLf & "I do not know
them")
End If

Cor


Nov 20 '05 #5
> "The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
Only if they win this weekend? Hope to see them in St. Louis!

Cheers,
Rob Panosh
Disappointed Rams Fan!
"KJM" <sc****************************@yahoo.com> wrote in message
news:e3**************@TK2MSFTNGP09.phx.gbl...
MsgBox("Hello" & vbCrLf & vbCrLf & _
"How are you?." & vbCrLf & vbCrLf & _
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
"Do you wish to continue?", MsgBoxStyle.YesNo)
If Ans = vbNo Then
Exit Sub
Else
'do this action
End If

or maybe

MsgBox("the Packers will win the super bowl.", MsgBoxStyle.Information)


MsgBox("This is a test",
"¤s¤t" <ra**********@pcmail.com.tw> wrote in message
news:O0**************@TK2MSFTNGP11.phx.gbl...
messagebox.show(" ????")
how to write.
thx


Nov 20 '05 #6
* "¤s¤t" <ra**********@pcmail.com.tw> scripsit:
messagebox.show(" ????")


\\\
MessageBox.Show( _
"Foo" & ControlChars.NewLine & _
"Bar" _
)
///

Instead of 'ControlChars.NewLine', you can use 'Environment.NewLine' or
'vbNewLine' too.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
KJM
I suspect we will.

and of course we will win. We have peaked at the right time.

"Rob Panosh" <ro************************@asdsoftadfdware.com> wrote in
message news:uX****************@TK2MSFTNGP09.phx.gbl...
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _

Only if they win this weekend? Hope to see them in St. Louis!

Cheers,
Rob Panosh
Disappointed Rams Fan!
"KJM" <sc****************************@yahoo.com> wrote in message
news:e3**************@TK2MSFTNGP09.phx.gbl...
MsgBox("Hello" & vbCrLf & vbCrLf & _
"How are you?." & vbCrLf & vbCrLf & _
"The Packers are going to the Super Bowl." & vbCrLf & vbCrLf & _
"Do you wish to continue?", MsgBoxStyle.YesNo)
If Ans = vbNo Then
Exit Sub
Else
'do this action
End If

or maybe

MsgBox("the Packers will win the super bowl.", MsgBoxStyle.Information)


MsgBox("This is a test",
"¤s¤t" <ra**********@pcmail.com.tw> wrote in message
news:O0**************@TK2MSFTNGP11.phx.gbl...
messagebox.show(" ????")
how to write.
thx



Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: les_ander | last post by:
Hi, suppose I am reading lines from a file or stdin. I want to just "peek" in to the next line, and if it starts with a special character I want to break out of a for loop, other wise I want to...
7
by: jamait | last post by:
Hi all, I m trying to read in a text file into a datatable... Not sure on how to split up the information though, regex or substrings...? sample: Col1 Col2 ...
6
by: mary | last post by:
When we use string line; while (getline(in,line)) { out.write(line.c_str(),line.size()); out.put('\n'); } in.close();
8
by: Peter A. Schott | last post by:
Per subject - I realize I can copy/paste a line at a time into an interactive session when I'm trying to debug, but was wondering if there is any tool out there that allows me to copy sections of...
65
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second...
3
by: Double Echo | last post by:
Hi all, I'm using PHP 4.4.2, and use PHP on both the command-line and the web. I am running PHP on SuSE 10 Linux , in a VMware 5.5 workstation, using Apache 2.0.55 , on my Dell laptop. ...
9
by: Adi | last post by:
Hello eveyone, I wanna ask a very simple question here (as it was quite disturbing me for a long time.) My problem is to read a file line by line. I've tried following implementations but still...
6
by: Jacob Rael | last post by:
Hello, I have a simple script to parse a text file (a visual basic program) and convert key parts to tcl. Since I am only working on specific sections and I need it quick, I decided not to...
11
by: xdevel | last post by:
Hi, I don't understand option. if I write: #line 100 "file" I change file numeration to start to line 100 but what "file" ? any example?
19
by: =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post by:
This is an example of the data; 2007/07/27 11:00:03 ARES_INDICATION 010.050.016.002 404.2.01 (6511) RX 74 bytes 2007/07/27 11:00:03 65 11 26 02 BC 6C AA 20 76 93 51 53 50 76 13 48...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.