0

I have the following code:

Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86) + "\\Internet Explorer\\iexplore.exe", "http:\\\\someurl.com");

It runs fine, but opens two instances of IE (Needless to say, I'm expecting one). Is there something obvious I'm missing here, or is it a more detailed issue? I'm using Visual C# 2010 Express if that matters, and .NET 4 Client Profile.

1

1 Answer 1

0

Try removing the exe path to IExplore and just let Process start the link, in my experience this should open in a new Tab not window

Example:

Process.start("http:\\\\someurl.com"); 
Sign up to request clarification or add additional context in comments.

3 Comments

Unfortunately, this is to open a webapp that requires IE.
is IE not your default browser?
Nope, and I'd prefer not to assume that it is on the user's end either.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.