Search
 
SCRIPT & CODE EXAMPLE
 

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);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: nullable IList 
Csharp :: kendo razor textbox 
Csharp :: ASP.NET Core set update clear cache from IMemoryCache (set by Set method of CacheExtensions class) 
Csharp :: list in c# foreach 
Csharp :: excute same code mvc 
Csharp :: how to count specific controls in a container c# 
Csharp :: filter enum using linq query 
Csharp :: unity variable in editor limit value 
Csharp :: Unable to Write json variable c# getting an error 
Csharp :: c# dictionary contain key but returns false 
Csharp :: Avoid auto-filling persian time picker 
Csharp :: connection string of bulk insert with csv in c# 
Csharp :: Razor do while loop 
Csharp :: c# url relative path remove 
Csharp :: multiple lines in string c# parameterized 
Csharp :: windows 10 see how long a program has been running 
Csharp :: vb.net delete a line from text file 
Csharp :: new bitmap pixel format c# 
Csharp :: how to get image from resource folder in c# 
Csharp :: unity how to check object position 
Csharp :: unity c# request store review 
Csharp :: c# use enum in class 
Csharp :: c# get pixel from bitmap click 
Csharp :: c# array inst working 
Csharp :: C# webclient immitate browser 
Html :: trademark symbol 
Html :: text-bold bootstrap 
Html :: HP cmd get computer serial number 
Html :: html tab space 
Html :: target blanc 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =