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.
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.