Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #oppen #site
ADD COMMENT
Topic
Name
9+2 =