Answers for "how to oppen a site using c#"

C#
0

how to oppen a site using 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);
}
Posted by: Guest on February-05-2021

Code answers related to "how to oppen a site using c#"

C# Answers by Framework

Browse Popular Code Answers by Language