ANSWERS: 2
  • I don't know VB, but it shouldn't be much different from C#: if (textbox.Text == "") MessageBox.Show("ERROR: Please enter value into height."); This is the simplest use of a MessageBox, it has an OK button.
  • If TextBox.Text ="" then MessageBox.Show("Please enter a value into height", "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) End If

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy