RSS RSS feed
November 08, 2009
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.

1 2 3 4 5 6 7 8




Networking Solutions





Partners

  • Partner With Us














More for Developers

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs