LocationURL Property
Gets the URL of the resource that is currently displayed.
Syntax
[ sURL = ] object.LocationURL
Possible Values
sURL String that receives the URL. The caller frees this buffer with SysFreeString. The property is read-only. The property has no default value.
Remarks
If the resource is a folder or file on the network or local computer, the name is the full path of the folder or file in the Universal Naming Convention (UNC) format.
If this method is called before the first navigation is complete, InternetExplorer returns an empty string and S_FALSE.
Applies To
InternetExplorer, WebBrowser
See Also
LocationName