Here is my code for the Textbox3_KeyPress:
Private Sub TextBox3_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox3.KeyPress
e.Handled = TrapKey(Asc(e.KeyChar))
Dim i As Integer
i = Convert.ToInt32(e.KeyChar())
If (i >= 48 And i <= 57) Or (i = 8) Then
Exit Sub
ElseIf (i = 13) Then
If Len(TextBox3.Text) = TextBox3.MaxLength Then
Try
TextBox4.Enabled = True
LinkLabel2.Enabled = True
TextBox4.Focus()
Catch
End Try
End If
End If
End Sub
I would like to focus the cursor in textbox4, It works in my computer but it doesn't work at all in other computers. Yup, I tried it to more than one machine to know if the problem was only on that machine where my program will be deployed but it doesn't work to all of them. I'm trying to recode it using the Keydown event I hope that this one's gonna work. But I'm still hoping you can help me with this one. THanks.