This code assigns false to Label4.text. Didn’t it have to assign num to Label4.text? Is there any restriction or something to take care when you have boolean variables in your program?
By the way, lector is defined at top of the form as: Dim lector=False
Thanks in advance.
If lector=False Or Not lector Then
If tCodigo=0 Then Label4.text="num"