Fourteen Years of Service
Posts: 17
Threads: 3
How to get current URL from browser ...Help ! 12-23-2012, 06:27 PM
#1
Hi guys....
Anyone know how to get current surfing URL from web browser...in vb6..?
is there any API or something ...?
:wacko::wacko::wacko:
•
Fourteen Years of Service
Posts: 2,622
Threads: 213
RE: How to get current URL from browser ...Help ! 12-23-2012, 07:25 PM
#2
You mean current URL of a WebBrowser control? Or THE current URL a user is browsing?
![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)
Redcat Revolution!
•
Thirteen Years of Service
Posts: 3,169
Threads: 99
RE: How to get current URL from browser ...Help ! 12-24-2012, 10:35 PM
#6
afaik you will never find one piece of code that will work for all browsers. Its not like browsers are required to report the current URL to the OS, so why would there be a specific operating system API to get it. Each browser may have its own API but it wont be a standard of some sort.
Youll likely need to either find snippets of code for each browser you want to support, or study the API of each browser you would like to support.
But while i doubt it... I could be wrong too...
•