Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Web Browser

Status
Not open for further replies.

LongBeach

Technical User
Nov 26, 2000
3
US
By using the Internet Controls and the Combo Box, I have created a custom browser. All of my navigational buttons work: Back, Forward, ect. When I first download a page, I use this code:

Private Sub WebBrowser1_DownloadComplete()
Me.Caption = WebBrowser1.LocationName
Combo1.AddItem WebBrowser1.LocationURL, 0
End Sub

To make sure that the name of the web page is on the title bar, and the URL is copied to the Combo Box.

However, when I use the Back and Forward Button there is a problem. The title bar has the name of the page on it but the Combo box doesn't change URL's. I have even tried to use the above code in the Back and Forward Click (), but it does not work. Thank you.
 
Hi

You need to post a lil' bit more code to correctly identify the problem.

Seasons Greetings
caf
 
Try using the Combo1.Text method, that might solve your problem. Probably figured that out already though.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top