How do I retreive current URL from my Web Browser ?
Printable View
How do I retreive current URL from my Web Browser ?
If your using the Ms internet control it's
The Webbrowser1.LocationUrl property.(where webbrowser1 is the name of your control.
um...I know somewhere on the pcmag site there is a small tutorial in VB on how to open and close browser sessions and control all sorts of aspects of the broweser including getting/setting the URL. Not where the file is now - somewhere at www.pcmag.com
Here you go, it looks complicated at first, but it works fine once you understand the code. Just follow directions:
http://www.planetsourcecode.com/vb/d...=1&blnFrm=true
Good luck!
-Matt