Jump to content
Xtreme .Net Talk

problem with SHDocVw


Recommended Posts

Guest slisbin
Posted

I want to get information from an Internet Explorer window that is not opened by my application. I can successfully do so with one opened by my app. How do I set to the current IE page?

 

Here's an example of the code that works:

 

Dim ie = New SHDocVw.InternetExplorer()

'open new browser window

ie.Visible = True

ie.Navigate("www.lisbin.com")

 

url = ie.LocationURL

 

ie = Nothing

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...