[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

AddressBar

How can I get the current address in the addressbar of the currently running web browser (from a C++ application)
0
GetzAlon
Asked:
GetzAlon
  • 3
  • 2
1 Solution
 
GetzAlonAuthor Commented:
Adjusted points to 200
0
 
nietodCommented:
There is no standard or universal way to do this.  First of all it will depend greatly on the OS you are running.  Second it will depend on which browser you ar running.
0
 
GetzAlonAuthor Commented:
Im working in windows 95/98, with internet explorer 5.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
jkrCommented:
See http://support.microsoft.com/support/kb/articles/Q176/7/92.ASP

(Q176792 - HOWTO: Connecting to a Running Instance of Internet Explorer)

After having done this, you'll be able to retrieve the current URL using 'IWebBrowser::GetLocationURL()'.


Feel free to ask if you need more information!
0
 
jkrCommented:
(Ooops, this should have been an answer)

A little correction: The relevant COM object/method is 'IWebBrowser2::get_LocationURL()' (MS likes changes ;-)

See http://msdn.microsoft.com/workshop/browser/webbrowser/reference/ifaces/iwebbrowser2/iwebbrowser2.asp

and http://msdn.microsoft.com/workshop/browser/webbrowser/reference/ifaces/IWebBrowser2/get_LocationURL.asp

in particular...
0
 
GetzAlonAuthor Commented:
Tks - Helped me alot!!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now