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()
Edited 5 Years Ago by nore: n/a
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.
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.
.ShowDialog instead of
Dim myMsgBox As New Form1 myMsgBox.ShowDialog()
Edited 5 Years Ago by codeorder: n/a
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked:
Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click Dim txtB1 As New TextBox Dim i For i = ...