hi use this code while u run a login form that time u enter username and press enter key the focus goes to password text box (ie): enter key act like tab key it is useful for as many times when we develop a application many text boxes
If Asc(e.KeyChar) = 13 Then
SendKeys.Send("{TAB}")
End If