Private initialised As Boolean = False
Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Activated
If Not Me.initialised Then
Me.myTextBox.Focus()
Me.initialised = True
End If
End Sub