private void openUrl(WebBrowser web, string url) { try { web.Navigate(url); } catch (Exception) { } } private static void RunCmd(string cmd)