Link to home
Start Free TrialLog in
Avatar of anafelicia
anafelicia

asked on

Cannot retrieve current URL of webbrowser in visual basic v6

Hello experts, i am trying to get current URL of the webbrowser in my visual basic v6 project and i can't get it to work. I have tried the following so far without any luck,

Dim showurl as string
showurl = webbrowser1.url

Any solution to my problem?

Thanks
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Dim showurl as string

WebBrowser1.Navigate ("http://www.google.com")

showurl = WebBrowser1.LocationURL
ASKER CERTIFIED SOLUTION
Avatar of harfang
harfang
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial