Dim pinnum As String = "1234"
Dim pinentered As String = TextBox1.Text
If pinentered = StrReverse(pinnum) Then
MessageBox.Show("Please eneter the pin properly")
ElseIf pinentered = pinnum Then
You need to get the pin u want to compare with into varioable pinnum here i took for example.