G
Guest
MessageBox coming up with blank message and blank buttons. The title and
icon show up, and the buttons work, if I click the first blank button,
returns Yes. Why is the message blank and the buttons are blank?
Private Sub cmdAddPrivileges_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles cmdAddPrivileges.Click
Dim MBResult As MsgBoxResult
MBResult = MessageBox.Show("Add Privilege?", "Add",
MessageBoxButtons.YesNo, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1)
End Sub
icon show up, and the buttons work, if I click the first blank button,
returns Yes. Why is the message blank and the buttons are blank?
Private Sub cmdAddPrivileges_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles cmdAddPrivileges.Click
Dim MBResult As MsgBoxResult
MBResult = MessageBox.Show("Add Privilege?", "Add",
MessageBoxButtons.YesNo, MessageBoxIcon.Question,
MessageBoxDefaultButton.Button1)
End Sub