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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy URL to VB ComboBox. Need Help.

Status
Not open for further replies.

SteverZ

Technical User
Nov 8, 2000
16
0
0
US
* When I open Internet Explorer (IE) browser, I have a small VB Form (Form) that opens in the screen corner. In the VB Form I have a combobox (cmbURL) that the browser automatically places the current URL into. This works great while visiting sites, as well as using site links that go directly to the link within the same browser window.

* BUT ... when the sites link forces a new window (NewWindow2) to open, the URL does not change to the new site within the new window (NewWindow2). The URL remains the same as if the link was never clicked.

* Can/What/Is the code that could be added around these:
- BeforeNavigateEvent2
- NewWindow2Event
- NewWindow2
- WebBrowser2

Would any of those work to capture the new URL from the second window?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top