vb.net MsgBox: set focus?
-
Hey, Using message boxes in my vb.net application... But when I test it, some of those MsgBoxs won't appear on top... They will just appear on taskbar and application keeps focus... Does anyone know a way to make sure the MsgBox appears on top, and blocks application until a button is clicked? Thanks in advance... NNM
-
Hey, Using message boxes in my vb.net application... But when I test it, some of those MsgBoxs won't appear on top... They will just appear on taskbar and application keeps focus... Does anyone know a way to make sure the MsgBox appears on top, and blocks application until a button is clicked? Thanks in advance... NNM
Has the form that calls the message box been instantiated with ShowDialog?
-
Has the form that calls the message box been instantiated with ShowDialog?
No... One simple example of how I use it: (sub) (...) If password1.Text <> password2.Text Then 'alert and stop operation: MsgBox("The passwords in the two password fields do not match", 0, "Error") (...) (exit sub)