Hi Guys,
How to lock text box by manual key in by keyboard and allow barcode scanner only.
this to prevent of human error (typo).
I have no idea how to lock text box...
below is what i did.. but this will be lock once one number is fill in... any idea to delay for 1 sec then lock textbox or any step is more effective.
help me guys.... Im blur...
Private Sub Acu1PreCA1_ValueChanged(sender As Object, e As EventArgs) Handles Acu1PreCA1.TextChanged
Acu1PreCA1.Text = CStr(Acu1PreCA1.Text)
Try
If Acu1PreCA1.Text = l Then
MsgBox("Confirm Value")
Acu1PreCA1.Enabled = False
End If
Catch ex As Exception
End Try
End Sub