There's a IE window opened(not opened by my application), in my
application I want to reuse this window to navigate to a specific URL.
I can find this window by title, but how to get the webbroswer control
from this window so I can navigate?
With ShellWindows object, enumerate all existing IWebBrowser2 instances,
check HWND of each and compare with the one you want. See also KB
article KB176792 "How to connect to a running instance of Internet
Explorer"
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Re: Hitting Back button gives page cannot be displayed ... Back Navigation on POST Causes Re-POST in Internet Explorer 6 ... Cannot Navigate Back to Previous Web Page ... link to open in a new window breaks the Back button. ... this is a network computer with the same network ... (microsoft.public.windows.inetexplorer.ie6.browser)
Re: Back Button doesnt always work... ... Back Navigation on POST Causes Re-POST in Internet Explorer 6 ... Cannot Navigate Back to Previous Web Page ... link to open in a new window breaks the Back button. ... It is a widely used practice by many webmasters, but, ... (microsoft.public.windows.inetexplorer.ie6.browser)
Re: Show Desktop ...Navigate to HKEY_CLASSES_ROOT\SHCmdFile ... Post the REG file contents here. ... Later you can move the Quick Launch shortcuts from ... > Window XP Shell/User ... (microsoft.public.windowsxp.newusers)
Re: Hitting Back button gives page cannot be displayed ... > Back Navigation on POST Causes Re-POST in Internet Explorer 6 ... > 2001) Cannot Navigate Back to Previous Web Page ... > link to open in a new window breaks the Back button. ... this is a network computer with the same network ... (microsoft.public.windows.inetexplorer.ie6.browser)
Re: PAge has Expired ... Back Navigation on POST Causes Re-POST in Internet Explorer 6 ... Cannot Navigate Back to Previous Web Page ... link to open in a new window breaks the Back button. ... Replies are posted only to the newsgroup for the benefit or other readers. ... (microsoft.public.windows.inetexplorer.ie6.browser)