Tip & How-To about Computers & Internet

How to use switch messagebox

Switch (MessageBox.Show("Your message here!!!",
case DialogResult.Yes:

//--"Execute if you click Yes"--//

case DialogResult.No:
//--"Execute if you click No"--//

case DialogResult.Cancel:
//--"Execute if you click Cancel"--//

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

how do i access mymessage box

Using My Personal MessageBox is very simple. Along with the program you'll find the file MYMESS.INI. This is where you'll define your messages. You can edit it with any text editor and your entries should be in the following format: [myitem]
title=My Title
message=This is my message. Unzip the contents of the zip file into a directory.

Apr 24, 2011 | Panasonic Lands Phones

1 Answer

sir how to set a messagebox in vb.net

To display a MessageBox:

MessageBox.Show("This is your messahe text!", "Title of Your MessageBox", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)

Regarding connecting to an Oracle database, you'd have to search for the connection string.

Feb 15, 2009 | Keystone Active Server Pages (ASP)/Visual...

Not finding what you are looking for?

636 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18424 Answers

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

David Payne
David Payne

Level 3 Expert

14162 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions