Código:
El error que me da es:Private Sub TextBox1_Validating(ByVal sender As Object, ByVal e As _ System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating If Me.TextBox1.Text.Length = 0 Then ErrorProvider1.SetError(Me.TextBox1, "Debe tener un valor") Else ErrorProvider1.SetError(Me.TextBox1, "") End If End Sub
Código:
La cláusula Handles requiere una variable WithEvents definida en el tipo contenedor o en uno de sus tipos base. (BC30506)
Desde ya muchas Gracias.
Saludos