2012-07-09から1日間の記事一覧

C# ブラウザを開いて値を代入

//URLを開く webBrowser1.Navigate("http://XXXX/index.html"); // 読み込み完了まで待つ try { while (webBrowser1.IsBusy || webBrowser1.ReadyState != WebBrowserReadyState.Complete) { System.Threading.Thread.Sleep((int)(0.5 * 1000)); Application…

C# エクセルを開く

using (System.Diagnostics.Process p = new System.Diagnostics.Process()) { p.StartInfo.FileName = "Excel"; p.Start(); }