M
Maarten
hi all,
how can i retrieve the type if a value inserted in an inputbox.
what i want to do is make shure people only insert an integer type, if they
don't they get an error message.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
inti = InputBox("Value", "Read frequenty")
End Sub
what should i add to this code that when the variable inti is'nt a number,
they get a massagbox "only numbers" .
kind regards Maarten
how can i retrieve the type if a value inserted in an inputbox.
what i want to do is make shure people only insert an integer type, if they
don't they get an error message.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
inti = InputBox("Value", "Read frequenty")
End Sub
what should i add to this code that when the variable inti is'nt a number,
they get a massagbox "only numbers" .
kind regards Maarten
