C# 下创建IE线程

来源:百度知道 编辑:UC知道 时间:2024/05/21 16:47:28
即是用C# 创建IE 线程 然后打开IE浏览器

static void Main()
{
System.Threading.Thread th = new System.Threading.Thread(new System.Threading.ThreadStart(F));
th.Start();
}

public static void F()
{
System.Diagnostics.Process.Start("iexplore.exe", "www.hao123.com");
}

就这样
很明白

Process.Start("iexplorer"."网页地址");

using system.thread;

再process start