I have an ActiveX control that I am creating to use on the web. When the control loads, I need to obtain the URL from the browser. Any suggestions on how to do this?
Thanks
Printable View
I have an ActiveX control that I am creating to use on the web. When the control loads, I need to obtain the URL from the browser. Any suggestions on how to do this?
Thanks
window.location.href
I need to grab the url in the control itself. I have tried using:
UserControl.Parent.Script.Document.parentWindow.LocationURL
No luck however. Any other suggestions?
Can't you pass the value in script to the control?