Home All Groups Group Topic Archive Search About

Launch new instance of IE??

Author
9 Jun 2006 2:20 PM
Brad Melendy
Hi,
How can I launch a new instance of IE from VB.net 2005?  Currently, I am
using System.Diagnostics.Process.Start to open a URL but it always takes
control of an existing instance of the web browser.  I've tried specifying
the full path and executable name of IEXPLORE.EXE but when I do so, I just
get an error.  Thanks for any suggestions.

....Brad

Author
9 Jun 2006 2:35 PM
Herfried K. Wagner [MVP]
"Brad Melendy" <b***@emp.state.or.us> schrieb:
> How can I launch a new instance of IE from VB.net 2005?  Currently, I am
> using System.Diagnostics.Process.Start to open a URL but it always takes
> control of an existing instance of the web browser.  I've tried specifying
> the full path and executable name of IEXPLORE.EXE but when I do so, I just
> get an error.

Which error?  Please post the complete error message.

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/14b84f389d055d2b>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
9 Jun 2006 3:47 PM
Brad Melendy
Thanks so much, the link you provided worked great!  The error was rather
generic and when I clicked on DETAILS it just had a bunch of low lever
system stuff I couldn't understand.  Thanks again!

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:OwwCmH9iGHA.4512@TK2MSFTNGP04.phx.gbl...
> "Brad Melendy" <b***@emp.state.or.us> schrieb:
>> How can I launch a new instance of IE from VB.net 2005?  Currently, I am
>> using System.Diagnostics.Process.Start to open a URL but it always takes
>> control of an existing instance of the web browser.  I've tried
>> specifying the full path and executable name of IEXPLORE.EXE but when I
>> do so, I just get an error.
>
> Which error?  Please post the complete error message.
>
> <URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/14b84f389d055d2b>
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>
Author
9 Jun 2006 4:25 PM
Cor Ligthert [MVP]
Brad,

I am not so glad with this message from Herfried, it was a part of a
discussion, now it stands there if my message is corrected by Herfried and
stand there on its own.

See here the complete discussion thread.

http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/522f2e8e4a78ded5/b4776ad5c96af95c#b4776ad5c96af95c

It started with an answer from Ken which was more than enough as answer to
the question. (Ken forgot the quotes but that was obvious in my idea.)

Cor



Show quoteHide quote
"Brad Melendy" <b***@emp.state.or.us> schreef in bericht
news:eJmqTw9iGHA.3496@TK2MSFTNGP04.phx.gbl...
> Thanks so much, the link you provided worked great!  The error was rather
> generic and when I clicked on DETAILS it just had a bunch of low lever
> system stuff I couldn't understand.  Thanks again!
>
> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
> news:OwwCmH9iGHA.4512@TK2MSFTNGP04.phx.gbl...
>> "Brad Melendy" <b***@emp.state.or.us> schrieb:
>>> How can I launch a new instance of IE from VB.net 2005?  Currently, I am
>>> using System.Diagnostics.Process.Start to open a URL but it always takes
>>> control of an existing instance of the web browser.  I've tried
>>> specifying the full path and executable name of IEXPLORE.EXE but when I
>>> do so, I just get an error.
>>
>> Which error?  Please post the complete error message.
>>
>> <URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/msg/14b84f389d055d2b>
>>
>> --
>> M S   Herfried K. Wagner
>> M V P  <URL:http://dotnet.mvps.org/>
>> V B   <URL:http://classicvb.org/petition/>
>
>
Author
9 Jun 2006 4:42 PM
Herfried K. Wagner [MVP]
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb:
> I am not so glad with this message from Herfried, it was a part of a
> discussion, now it stands there if my message is corrected by Herfried and
> stand there on its own.

Huh?!  My answer perfectly solves the OP's problem, so I don't see where you
are seeing the problem...

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
9 Jun 2006 6:11 PM
Mythran
Show quote Hide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:uppHqO%23iGHA.836@TK2MSFTNGP02.phx.gbl...
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> schrieb:
>> I am not so glad with this message from Herfried, it was a part of a
>> discussion, now it stands there if my message is corrected by Herfried
>> and stand there on its own.
>
> Huh?!  My answer perfectly solves the OP's problem, so I don't see where
> you are seeing the problem...
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>

Took me a bit to understand what Cor meant.  The link you posted, Herfried,
was a link to a "corrected" version of something Cor posted.  Yes, it
answers the OP, but the content of the link you provided also makes it look
almost bad for Cor because it's a correction of a single post instead of the
entire thread.

Basically, he believes you should have posted the link to the entire thread
(including the OP and replies) instead of just the single post you
made...that's all :)

Mythran