Guys, is it possible to change the default text of the button of msgboxes? How?

I don't know about how to change thats default, but we can make messagebox with form,
first make that form (for ex: form1), design the tools (label/button/etc.) and show that form on event :)

Dim newmsgbox As New form1
        newmsgbox.Show()

To answer the question, not without using reflection. It would be easier to follow nore's advice and create your own messagebox.

Infragistics provides assemblies to do this, but you'd need to pay for it.

Thanks guys. I should just really use a form instead of the msgbox class.

Even though this thread is Solved, hope this helps.

Check out the first posted code from this link.
http://stackoverflow.com/questions/234774/custom-button-captions-in-net-messagebox

Just adding my 2 cents worth.
I would personally create my own MsgBox clone from a Form since I can have total control over it.

Also, use .ShowDialog instead of .Show .

Dim myMsgBox As New Form1
        myMsgBox.ShowDialog()
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.