how to open a webpage on C# code example
Example: how to open a webpage on C#
try
{
System.Diagnostics.Process.Start("http://www.webpage.com");
}
catch (System.ComponentModel.Win32Exception noBrowser)
{
if (noBrowser.ErrorCode==-2147467259)
MessageBox.Show(noBrowser.Message);
}
catch (System.Exception other)
{
MessageBox.Show(other.Message);
}