|
-
Aug 14th, 2003, 03:53 AM
#1
Thread Starter
Lively Member
Webbrowser URL
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|