I want to give my user the ability to provide the url of a web page. I load ie using the following code:
Dim IE As New SHDocVw.InternetExplorer
IE.Visible = True
IE.Navigate("www.msn.com")
Now, I want my program to wait until ie is closed, and then I want to capture the url at the time of closing. So, how do I wait for ie to complete and is there an ie event such as beforeclosing that will allow me to get the location property?
Please note that I am NOT using the web browser control but rather launching a copy of ie (to make the user's favorites and web history available).
Thanks!
Dim IE As New SHDocVw.InternetExplorer
IE.Visible = True
IE.Navigate("www.msn.com")
Now, I want my program to wait until ie is closed, and then I want to capture the url at the time of closing. So, how do I wait for ie to complete and is there an ie event such as beforeclosing that will allow me to get the location property?
Please note that I am NOT using the web browser control but rather launching a copy of ie (to make the user's favorites and web history available).
Thanks!