我目前正在开发一个ASP.NET Web应用程序。从Google Chrome中打开Internet Explorer
该应用程序专为Google Chrome而设计。我想在涉及打印时弹出IE浏览器,因为Chrome浏览器缺少预览等,只需点击IE应打开的按钮即可。这里的代码:
protected void btn_print_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://localhost/storeapp/printpage.aspx?orderno=" + Request.QueryString["orderno"].ToString() + "");
}
在这里,我已经通过一个特定的orderno
的URL。但是当我点击没有发生。我已将IE设置为默认Web浏览器。为什么是这样?
显示没有错误?有任何想法吗?
如何直接启动iexplore.exe? – kenny 2011-03-29 10:40:06