0

I want user to go on a link when he clicks on a button. I use 6.0 .Net Framework

When I click on button its says system cannot find specified file

private void button1_Click(object sender, EventArgs e)
{
    System.Diagnostics.Process.Start("https://example.com");
}
gunr2171
  • 16,104
  • 25
  • 61
  • 88

1 Answers1

-1

Try this:

System.Diagnostics.Process.Start("explorer.exe", "http://google.com");
K. A.
  • 82
  • 6