Wednesday, September 9, 2009

the code for pressing enter to make it navigate
Private Sub txtAddress_KeyUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtAddress.KeyUp
If e.KeyCode = Keys.Enter Then
myInternetExplorer.Navigate(txtAddress.Text)
End If

End Sub

No comments:

Post a Comment