Error Provider

Validating a TextBox Using an Error Provider in Visual Basic 2008

Submitted by janobe on
Today, I will teach you how to validate a Textbox using an ErrorProvider in Visual Basic 2008. With this, you will know what are the inputs you are going to put in the textbox and it will notify you whatever errors that you might encounter. Let’s begin: Open Visual Basic 2008 and create a new windows application. Drag the two TextBoxes, a Button and an Error Provider in the Form.