473,698 Members | 2,942 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launch new instance of IE??

Hi,
How can I launch a new instance of IE from VB.net 2005? Currently, I am
using System.Diagnost ics.Process.Sta rt 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
Jun 9 '06 #1
5 4051
"Brad Melendy" <br**@emp.state .or.us> schrieb:
How can I launch a new instance of IE from VB.net 2005? Currently, I am
using System.Diagnost ics.Process.Sta rt 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.d e/group/microsoft.publi c.dotnet.langua ges.vb/msg/14b84f389d055d2 b>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jun 9 '06 #2
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]" <hi************ ***@gmx.at> wrote in message
news:Ow******** ******@TK2MSFTN GP04.phx.gbl...
"Brad Melendy" <br**@emp.state .or.us> schrieb:
How can I launch a new instance of IE from VB.net 2005? Currently, I am
using System.Diagnost ics.Process.Sta rt 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.d e/group/microsoft.publi c.dotnet.langua ges.vb/msg/14b84f389d055d2 b>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jun 9 '06 #3
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/micros...776ad5c96af95c

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

"Brad Melendy" <br**@emp.state .or.us> schreef in bericht
news:eJ******** ******@TK2MSFTN GP04.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]" <hi************ ***@gmx.at> wrote in message
news:Ow******** ******@TK2MSFTN GP04.phx.gbl...
"Brad Melendy" <br**@emp.state .or.us> schrieb:
How can I launch a new instance of IE from VB.net 2005? Currently, I am
using System.Diagnost ics.Process.Sta rt 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.d e/group/microsoft.publi c.dotnet.langua ges.vb/msg/14b84f389d055d2 b>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Jun 9 '06 #4
"Cor Ligthert [MVP]" <no************ @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/>

Jun 9 '06 #5

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> wrote in message
news:up******** *******@TK2MSFT NGP02.phx.gbl.. .
"Cor Ligthert [MVP]" <no************ @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

Jun 9 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
404
by: Tammy | last post by:
How do I launch a form from within another? The book I have only talks about MDI forms and I know that there should be a way to do that without the MDI form.
5
32734
by: GrantS | last post by:
Hi I am trying to use ShellExecute to launch an application to display a certain file. The variation on the theme is that I need to be able to specify the application to launch and not simply pass the file name (which will then result in the application associated with the file extension to launch). I want to prevent the application registered in the system as being associated with the file extension from opeing the file.
7
2740
by: Christopher C | last post by:
I am using a C# winform to launch some apps for our students. Basically the user hits a button the form hides and the app is launched. When the app exits, the form is unhidden. I have a question on two things. From what I understand since I am starting the program from the Process.Start it is on a separate thread and this is really not a problem. Secondly what is the best way to work this form. Do I dispose of the form when I start the app...
1
1458
by: Tom | last post by:
What the best way to launch a web site using the default browser? For instance, I have a help menu item that, when clicked, will cause a pre-defined web site to launch in the default browser (IE, Mozilla, Netscape, whatever). Right now I am using: System.Diagnostics.Process.Start(http://MyWebSite) Just wondering if this is the best way to do it; and will this work all the
2
1592
by: Peter Ignarson | last post by:
Hi there - I am writing a paint program (I am following a learning tutorial, there is no point to writing a paint program) and I want to extend it so that I can copy the contents of my drawing and paste it into Microsoft Word. Then I want to double click on the diagram in Microsoft Word and have my paint program loaded with the drawing ready for editing. For this seemingly basic functionality, is there an example out there on how to do...
5
3523
by: Kevin Hodgson | last post by:
I'm trying to launch a command line utility from my VB.NET App, In my function I create a process and launch the executable, and need to wait for it to exit, so that the calling code can move the output file to the userdata directory, if it's successful. The problem I'm having is that on myProcess.WaitForExit() I get a System.NullReferenceException, Object Reference not set to an instance of an object. Here's my function.
1
2219
by: sylsau | last post by:
Hello, I wrote a JAVA program which uses the JAVA API JDOM 1.0 (of this site www.jdom.org) I put the archive jdom.jar in the directory /usr/share/java/jdom.jar and I added this path in the CLASSPATH variable. The program runs normally when I launch it in a unix shell. Now, I want to launch this JAVA program in a PHP program with system() function for example. I have an Apache server with PHP 4 who runs. The
3
2025
by: Scott | last post by:
I wish to have a link on a page that launches a new browser before it loads the target link. The standard _new and _blank include the parent browser's cookies. Is there an alternative method that excludes these cookies? Thanks in advance
3
1226
by: Ethan V | last post by:
My company has 2 web sites. On site #1 we have a hyperlink to site #2. The requirement is that if site #2 is already opened in any browser instance, clicking on the hyperlink to site #2 should not open a new window, but rather the existing browser instance. Is this possible at all? Please share with me your thoughts and experience. Many thanks in advance. Happy July 4th.
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7741
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.