F
Federico Cozzi
Hello,
in my VB.net I would like to
1) start a new Internet Explorer process (not a new window of the
running process)
2) and connecting to its WebBrowser control, or InternetExplorerClass,
afterwards.
Basically, creating a new WebBrowser doesn't work because it opens a
new window of the running Internet Explorer, but if I start a new IE
process (with System.Diagnostics.etc..) I don't know how to use it "as
a browser" from my code.
I suppose I should just start a new IE process and then connect to it
using some kind of magic, but:
a. how can I find the IE *I* just started, in a reliable way? I am not
sure that checking for its URL is reliable enough... is there some
sort of process ID to look for?
b. when I find it, how do I "cast" it to my desired object?
As you can see I am really a newbie Windows programmer... (I come from
a Unix background)
Thanks,
Federico
in my VB.net I would like to
1) start a new Internet Explorer process (not a new window of the
running process)
2) and connecting to its WebBrowser control, or InternetExplorerClass,
afterwards.
Basically, creating a new WebBrowser doesn't work because it opens a
new window of the running Internet Explorer, but if I start a new IE
process (with System.Diagnostics.etc..) I don't know how to use it "as
a browser" from my code.
I suppose I should just start a new IE process and then connect to it
using some kind of magic, but:
a. how can I find the IE *I* just started, in a reliable way? I am not
sure that checking for its URL is reliable enough... is there some
sort of process ID to look for?
b. when I find it, how do I "cast" it to my desired object?
As you can see I am really a newbie Windows programmer... (I come from
a Unix background)
Thanks,
Federico