I've been trying to make a program open a messagebox with the icon identified by a string variable, but I can't figure out how! I've tried using something like this
MessageBox.Show("Message here", _
"Message", _
MessageBoxButtons.YesNoCancel, _
MessageBoxIcon. + IconVariable)
But it gives me the error: 'MessageBoxIcon' is a type and cannot be used as an expression.