Hi,

I want to be able to capture the URL of the webpage a user has gone to in my webbrowser control. I can do that easy enough by doing:

AxWebBrowser1.LocationURL.ToString

when its a typical webpage.

However some webpages that the user will be going to have a different URL (shown in the address bar) to what the actual actual URL is of the webpage.

EG.

A link on a website points to the following URL:

https://www.mywebsite.com/logon/Tran...x?CID=91&SID=2

(which is shown in the status bar when the mouse hovers over the link)
when you actually go to that webpage the URL in the address bar is:

https://www.mywebsite.com/logon/reports

I want to be able to get the "https://www.mywebsite.com/logon/Transfer.aspx?CID=91&SID=2" URL, not the other one which is brought back by:

AxWebBrowser1.LocationURL.ToString

because it is this URL that will take you to that webpage not 'https://www.mywebsite.com/logon/reports' which will not take you anywhere.

Does anyone know how I could do this?