Search code examples
vb.netmarkupmessagebox

VB.NET MessageBox with markup in forms


I want to show a MessageBox in a VB.NET application that has special markup for its text. More specifically, I want to display an unordered list. I tried doing it by wrapping the text in HTML tags (which Java Swing supports for example, if I'm not mistaken) and working with <ul> and <li>. This did not work. I can't find anything on the net about it either...

The textbox is used in a normal Windows forms application.

Does anyone know how to do it without creating a completely custom messagebox class?


Solution

  • As Hans Passant says, this is not possible with the default MessageBox in VB.NET.