Process.Start(url) broken on Windows 8/Chrome - are there alternatives?

后端 未结 5 1675
野的像风
野的像风 2020-12-09 16:21

To open a URL from a .NET application, many sites (including on StackOverflow) cite this example:

Process.Start(\"http://www.google.com/\");
<
5条回答
  •  再見小時候
    2020-12-09 16:39

    Armin's answer is the one I ended up using and it's worked well.

    I just want to add that I only get the 'Class Not Registered' exception when I'm starting the process from a program that is running with elevated permissions. This appears to be new behavior with Windows 8.

提交回复
热议问题