Hi guys,
In VB6 I used Sendkeys "{Tab}" to place the cursor on the next control.
How will I do this in VB.NET ?
Thank you very much.Code:Private Sub txtUserID_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtUserID.KeyDown If e.KeyCode = Keys.Enter Then ' what will I add here ? End If End Sub




Reply With Quote