Am building a VB project. I have two textboxes:
Textbox1
Textbox2
I want, if the value of textbox1
equals to numbers between 10-20, the textbox2
to automatically display the word "Thanks".
I thought the code will be something like this:
If Textbox1.text = integer("10-20") then
Textbox2.text = "Thanks"
End if
But its not working. Do you have any idea how to fix this?