Re: create new browser process and able to handle browser events



"cseifert" <christian.seifert@xxxxxxxxx> wrote in message
news:23b828b7-1e25-4261-b524-dbec26914c9d@xxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi there, I am trying to create multiple browser windows with their
own process IDs each. Still would like to be able to handle the
browser events.

1. createProcess function gives me the browser windows with their own
process IDs
2. CoCreateInstance allows me to create multiple browser windows and
able to handle the browser events, but all is happening under one
process

Is there a way to get both?

Use CreateProcess, then use ShellWindows to enumerate all browser
instances and figure out which one is the one you've just created (based
on process ID). This will give you IWebBrowser2 for this instance.
--
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


.



Relevant Pages

  • Re: Cant Configure OE 6 to open Links in Emails in new browser window
    ... In IE at Tools, Internet Options, Programs, have you set IE to check to see if it is the ... > I've tried closing all browser windows after I make the changes and I've ... > tried not having any browser windows open when I start the configuration. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: This SHOULD be an easy question....
    ... I don't know how to handle when two browser windows share ... This is how your web browser works so unless your browser ... which generates a session identifier (i.e. ... You could make the applet even fancier and poll the server to get the login ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Cookies question
    ... if you can close down all browser windows and with a new one bypass the login ... maybe somehting with you session cookie?? ... > and then click this link and still bypass the log in page. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: FRUSTRATING but probably simple!
    ... >> displayed in browser windows. ... >> browser its automatically set to arrange icons by date. ...
    (microsoft.public.windowsxp.customize)
  • Re: Restoring Open Programs After Reboot?
    ... reboot the computer with browser windows still open and those browser ... windows restoring after the reboot. ... using that feature for the IE browser. ...
    (microsoft.public.windowsxp.general)