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

Custom Icon in Message Box


Hi friends,

I want to use my own icons in MessageBox instead of default icons. How
can we do this?

Ex: MessageBox.Show("You didn't save your information. \n Do you want to
Leave anyway?","Close",MessageBoxButtons.YesNo,MessageBo xIcon.Question)

instead of MessageBoxIcon.Question,i want to give my own .ico file name.

Please help me.

Jul 21 '05 #1
2 4537
VIJAY,
I want to use my own icons in MessageBox instead of default icons.
How can we do this?


Why, we have all so many natural languages in the world. Icons help us to
overcome that in some cases and now you want to make this again impossible.

Just my thought,

Cor
Jul 21 '05 #2
u can do in user control to create ur own icon msgbox.

VIJAY KUMAR wrote:
Hi friends,

I want to use my own icons in MessageBox instead of default icons. How
can we do this?

Ex: MessageBox.Show("You didn't save your information. \n Do you want to
Leave anyway?","Close",MessageBoxButtons.YesNo,MessageBo xIcon.Question)

instead of MessageBoxIcon.Question,i want to give my own .ico file name.

Please help me.


Jul 21 '05 #3

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

Similar topics

5
by: Dennis C. Drumm | last post by:
I have a windows form configured as a fixed dialog I'm using as a custom MessageBox (has some additional buttons). How do I get it to play the standard windows sounds when envoked and can I insert...
2
by: Dennis C. Drumm | last post by:
This is a restatement of an earlier post that evidently wasn't clear. I am building a custom MessageBox dialog that has, among other things, a few new button options (yes to all, no to all, etc.)...
12
by: BC | last post by:
Hello, We are creating an Office add-in. We are able to display the add-in successfully. However, we followed a sample program, and it displays a FaceID = 1044 (which is not the bitmap of the...
1
by: Derrick | last post by:
Hello all; I'm looking at creating a custom nonvisual component (like the SQLConnection control, for example). I would like to do one thing with this control which is a little more complex. ...
2
by: Showjumper | last post by:
I want my custom control to have its own toolbox icon. I create the bmp file and it has the same name as the control class. I then set it to embedded resource but it still doesnt appear in the...
1
by: Brian Henry | last post by:
I am trying to make a custom user control that gets a list of users from our database and populates the list, its an owner drawn control also, the problem is, I placed the item onto a form and...
6
by: rodchar | last post by:
hey all, i'm trying to add an image to my custom control so that it looks unique in my toolbox. i saw in a webcast that all you had to do was add the image to the project and change the Build...
2
by: --== Alain ==-- | last post by:
Hi, How can i custom the icon (shown on ToolBox Palette) of my Custom Visual C++.NET control ? Moreover, if i want to place my custom control on a particular TAB, how can i do that ? ...
0
by: benjamin11 | last post by:
Hi all, A few questions regarding the custom setup program in C#: 1. How do I make the custom setup copy a few files (image files, icon files, or text files), into the application...
5
by: Rick | last post by:
I'm moving Access2000/2003 apps into Access2007 running on XPpro Dells. I've found where to lower the macro security and with a tweak to references have allowed me to use my custom toolbars...
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...
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: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.