473,396 Members | 1,765 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,396 software developers and data experts.

alert or msgbox

How do I do a simple message box in C#?

Thanks,
Newbie
Nov 15 '05 #1
2 2150
Use the MessageBox class.

"xhenxhe" <du****@davisvillage.com> wrote in message
news:#a**************@tk2msftngp13.phx.gbl...
How do I do a simple message box in C#?

Thanks,
Newbie

Nov 15 '05 #2
Newbie,

You can call the static Show method on the MessageBox class that is
located in the System.Windows.Forms namespace.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"xhenxhe" <du****@davisvillage.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
How do I do a simple message box in C#?

Thanks,
Newbie

Nov 15 '05 #3

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

Similar topics

2
by: monika | last post by:
I am not clear ... whether to use alert of JavaScript or messagebox of VBScript in ASP. But what I want is that when a user has some error I want to display a pop-up kind of a thing saying "you...
7
by: Roy Danon | last post by:
This question doesn't have anything to do with ASP, but I couldn't find any better place to ask it and i'm sure that if an answer exists someone here knows. So, the question is : When I use...
4
by: Coleen | last post by:
Please see threads on "Dumb question about Message boxes" - I went to the specified link - this works great if all you want to do is display a message box before any of your script behind the...
3
by: Matt | last post by:
Is there a way to change the title bar of the JavaScript alert box?? If we do the following, it always show Internet Explorer in the title bar of the box. What if I want to have title "My Title"...
2
by: Seth | last post by:
I have a query with field names and . When I access any given record in form "test", I want the user to be alerted if there is more than one record with the same first name and last name. This...
4
by: ghadley_00 | last post by:
I have a MS access database which has entries (each of which has a name field) and uses a form to make new entries. I would like to put together code that will run when a new entry's name is...
1
by: Joey | last post by:
Can someone tell me how to create a dialog box...aka javascript alert box to display an *informational* message to the user? The regular alert box is perfect, except that it shows a Warning icon. I...
4
by: senditontome | last post by:
Hi, As a relative Newbie, I'd appreciate a little assistance with an A2003 DB I'm trying to enhance. This DB handles reports made by security staff on a shift by shift basis based on two...
23
by: Marge | last post by:
This may be in the wrong forum, but here goes. How can I display an alert in the users browser window from an asp page. For example, a welcome message. I know I can do this with response.write,...
4
by: damjanovic | last post by:
Hi all, I have a DB which is designed to have 1 admin and several users on at the same time. The users and admin all work with the same form, called frmOrders, which is a continuous form that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.