InternetExplorerClass and seperate processes?

  • Thread starter Thread starter mwolf
  • Start date Start date
M

mwolf

im using the InternetExplorerClass to navigate several sites, my poblem
is that if an instance of ie is running, it will just piggy back on
that process instead of starting its own.

Is there a way to force new SHDocVw.InternetExplorerClass(); to
instantiate ie as its own process?

mike
 
Thanks bill,

my problem isnt so much to just start ie, but to control ie, like form
submissions and navigation.

so sadly dont think this will work. I think my answer lies w/
appdomains and remoting, but not sure.
 
ok looks like this wont quite work...

ObjectHandle oh =
ad.CreateInstance("Interop.SHDocVw","SHDocVw.InternetExplorerClass",false,System.Reflection.BindingFlags.CreateInstance,null,new
object[]{},null,null,null);

this.IE_Inst = (SHDocVw.InternetExplorer) oh.Unwrap();


becuase then when i try to assign an event handler to IE_Inst I get an
error about IE_Inst not being marked as serializable... any ideas?

generally im trying to make it such that if ie fails it doesnt bring
down other applications depending on ie. As that each instance of the
app seems to use 1 ie process, if 1 ie fails they all fail.
 
Back
Top