I think you just need to capture the DocumentComplete event, and then the
AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent has the complete url as an
object... code below...
private void axWebBrowser1_DocumentComplete(object sender,
AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
{
string theUrl = e.uRL.ToString();
}
this is of course if your using an active x control of the web browser and
not .net 2.0's built in control, although I do think the idea will be the
same for both...
"eXtreme" wrote:
Does anyone know how to get the full URL filename from a Microsoft Web
Browser control? I can use wbBrowserObj.LoctionURL to get the path but it
seems to be missing the file name... I need the specific filename that a
person browses to using the web browser control.
Thanks,