How To Add A Custom Icon To MessageBox? - Stack Overflow

Just browsing Stack Overflow? Help us improve your experience. Sign up for research
    1. Home
    2. Questions
    3. Tags
    4. Users
    5. Companies
    6. Labs
    7. Jobs
    8. Discussions
    9. Collectives
    10. Communities for your favorite technologies. Explore all Collectives

  1. Teams

    Ask questions, find answers and collaborate at work with Stack Overflow for Teams.

    Try Teams for free Explore Teams
  2. Teams
  3. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams

Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Get early access and see previews of new features.

Learn more about Labs How to add a custom icon to MessageBox? Ask Question Asked 4 years, 6 months ago Modified 4 years, 5 months ago Viewed 1k times 2

How can I use my own icon (like vbexclamation) with the MsgBox() method? I need to add a icon of my own.

Share Improve this question Follow edited Jun 2, 2020 at 12:41 StayOnTarget's user avatar StayOnTarget 12.9k11 gold badges59 silver badges104 bronze badges asked May 22, 2020 at 15:47 barath kumar basker rangareddy's user avatar barath kumar basker rangareddybarath kumar basker rangareddy 213 bronze badges Add a comment |

2 Answers 2

Sorted by: Reset to default Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first) 5

I don't believe MsgBox() supports this. You would need to create your own Form from scratch as a replacement for MsgBox().

Share Improve this answer Follow answered May 22, 2020 at 15:51 Joel Coehoorn's user avatar Joel CoehoornJoel Coehoorn 414k114 gold badges577 silver badges812 bronze badges Add a comment | 0

There is an Extended Msgbox project at http://rpgprojects.homestead.com/code.html

Also, take a look at http://www.vbforums.com/showthread.php?329373-MsgBoxEx-Extended-Message-Box

Share Improve this answer Follow answered May 26, 2020 at 7:37 Smith's user avatar SmithSmith 7201 gold badge8 silver badges12 bronze badges Add a comment |

Your Answer

Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid …

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

Draft saved Draft discarded

Sign up or log in

Sign up using Google Sign up using Email and Password Submit

Post as a guest

Name Email

Required, but never shown

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.

  • The Overflow Blog
  • Your docs are your infrastructure
  • Featured on Meta
  • More network sites to see advertising test [updated with phase 2]
  • We’re (finally!) going to the cloud!
  • Call for testers for an early access release of a Stack Overflow extension...
3 How to change MessageBox.Icon 0 Windows Messagebox Icons in VS2008 using C# 9 Specify taskbar icon for a MessageBox 0 add icon to listbox vb.net 21 MessageBox.Show() Custom Icon? 0 vb .net custom component icon 0 Custmized icon for message box 5 How can I get MessageBox icons in Windows 8.1 1 vb.net add icon to form title bar 3 Message Box Icon -> Variable?

Hot Network Questions

  • Comedy/Sci-Fi movie about one of the last men on Earth living in a museum/zoo on display for humanoid robots
  • Is Holy Terra Earth?
  • Mega Man: Powered Up
  • Will a laptop battery that stays connected to its charger be damaged?
  • Why is a pure copper cathode necessary in the electrolytic refining of copper?
  • Do I need Letter of invitation to Iceland?
  • If "de-" means "down" or "off" and "sub-" means "under", what is the latin prefix- meaning "up"?
  • Is there any penalty for providing half cover to another creature?
  • Why did the angel strain or dislocate Yaakov's hip-socket?
  • Why Adam and Eve were created naked?
  • Why don't routers answer ARP requests for IP addresses they can handle even if they aren't assigned that IP address themselves?
  • How do different observers decide if they are looking at the same thing?
  • What is the polymorph reached by letting the chocolate cool down?
  • How can I politely decline a request to join my project by a free rider professor
  • Why does the Torah ignore the Philistine nation?
  • Is there a curve such that a ball rolling down it has constant velocity?
  • Publishing corollaries of previously published results
  • What is another word for when someone’s statement lacks integrity or meaning?
  • How to attribute authorship to personal non-academic friend who made significant contributions
  • A novel about Earth crossing a toxic cloud of cosmic size
  • If every denomination is skeptical of every other denomination, why shouldn't non-Christian outside observers be skeptical of all denominations?
  • Rational independence of higher golden ratios
  • What is this Stardew Valley item?
  • Find the Smallest Data Type for a Number
more hot questions Question feed Subscribe to RSS Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

lang-vb

Từ khóa » Visual Basic Msgbox Icon