I\'m trying to provide a link to my company\'s website from a Windows Form. I want to be well behaved and launch using the user\'s preferred browser.
What is the be
For those getting a "Win32Exception: The System cannot find the file specified"
This should do the work:
ProcessStartInfo psInfo = new ProcessStartInfo
{
FileName = "https://www.google.com",
UseShellExecute = true
};
Process.Start(psInfo);
UseShellExecute is descriped further here
For me the issue was due to the .NET runtime as descriped here