dcsimg
June 20, 2018
Hot Topics:

Creating a Web Browser

  • November 19, 2002
  • By Karl Moore
  • Send Email »
  • More Articles »

As most users are acquainted with typing their Web addresses into Combo Boxes, you may want to use the same.

However Internet Explorer allows you to either press the 'Go' button to visit the typed site, or merely hit return. You can detect if return has been pressed like this:

Private Sub Combo1_KeyPress(KeyAscii As Integer)

    If KeyAscii = vbKeyReturn Then
        WebBrowser1.Navigate (Combo1.Text)
    End If

End Sub

It's also possible to turn a regular Text Box into an Internet Explorer 5 style Web address list with the help of a very sneaky API call.





Page 7 of 8



Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date