Login Register






How to get current URL from browser ...Help ! filter_list
Author
Message
How to get current URL from browser ...Help ! #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:

Reply

RE: How to get current URL from browser ...Help ! #2
You mean current URL of a WebBrowser control? Or THE current URL a user is browsing?
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: How to get current URL from browser ...Help ! #3
(12-23-2012, 07:25 PM)Coder-san Wrote: You mean current URL of a WebBrowser control? Or THE current URL a user is browsing?


No bro...I mean no Web Browser control... I want to monitor current URL with any browser where user visiting...

Reply

RE: How to get current URL from browser ...Help ! #4
Here is the code in VB.Net. Convert it into VB6

Getting current browser URL with VB.Net
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: How to get current URL from browser ...Help ! #5
(12-24-2012, 07:10 AM)Coder-san Wrote: Here is the code in VB.Net. Convert it into VB6

Getting current browser URL with VB.Net


but dear these source code can't use for all browsers. That's why i'm searching something like get this info from OS through API.

Reply

RE: How to get current URL from browser ...Help ! #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...

Reply