read title
Here is the code i'm using
System.Diagnostics.Process.Start("My url, dont wanna show it xd");
But visual studio tells this
i tried using the light, but tells this
read title
Here is the code i'm using
System.Diagnostics.Process.Start("My url, dont wanna show it xd");
But visual studio tells this
i tried using the light, but tells this
You need to add a method to the click event before you can call the Process.Start. For instance:
button14.Click += Button14_Click;
Now if you click the button it will open the browser.
private void Button14_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("my url");
}
Have you tried
Process.Start("chrome.exe", "http://www.YourUrl.com");
Similar question here: How to launch a Google Chrome Tab with specific URL using C#