Why does Chrome not start correctly when using C# Process.Start?

Posted by nbolton on Stack Overflow See other posts from Stack Overflow or by nbolton
Published on 2010-04-13T23:08:24Z Indexed on 2010/04/13 23:13 UTC
Read the original article Hit count: 327

Filed under:
|
|

I'm able to start Chrome successfully using this C# code:

Process.Start("chrome", "http://www.google.co.uk");

However, it does two things wrong:

  1. It does not navigate to the URL specified in arguments
  2. It does not re-use the existing Chrome window (it opens a new one)

I've tried using ProcessStartInfo and setting UseShellExecute and LoadUserProfile just in case these did something, but this makes no difference.

Any ideas?

© Stack Overflow or respective owner

Related posts about chrome

Related posts about c#