Sunday, January 9, 2011

Open URL in browser using Windows Application


//pass url here
string address = "http://www.google.com";
            if (!address.ToLower().StartsWith("http://"))
        {
          address = "http://" + address;
        }
         con.Close();

       System.Diagnostics.Process.Start(address);

No comments:

Post a Comment