要求才用WEB方法启动本地的应用程序,例如点击网页上的按钮,启动客户端的Word或其他的应用程序。
解决方案 »
- ASP.NET用户管理
- 说说大家在用VS2008时候(不限于2008)都会用什么相关的工具,使你的编程方便一些?
- 网络公司提供 - 网站优化排名服务
- 关于FileUpload'/'丢的问题..
- 判断的问题
- 使用PlaceHolder无法动态添加UserControl的问题
- 在做一个网站用到微博第三方登陆,出错说oauth_token未授权
- 关于多页面操作。
- 我是菜鸟:如何在asp.net/C#中象以前使用recordset数据集一样啊
- 我希望点一<asp:textbox>控件,即跳出一隐藏的日历控件让用户选择时间?
- 那位高手中的高手能给我个用C#和Sql server 2005写的留言板,代码一定要简洁易懂。小弟初学者最好有注释。和写法的思路。
- 诚聘网络家教
Ⅰ. C#のprocess
Process proc = new Process();
proc.StartInfo.FileName="cmd.exe"; proc.StartInfo.UseShellExecute = false;
proc.Start();
proc.Close();
Ⅱ. JAVASCRIPT
string scr = "function hello(){var WshShell = new ActiveXObject('WScript.Shell'); "+"WshShell.run('cmd.exe');}";
MSScriptControl.ScriptControl sc = new MSScriptControl.ScriptControl(); sc.Language = "JScript";
sc.AllowUI = true;
sc.AddCode(scr);
object[] parameters = new Object[0];
sc.Run("hello",ref parameters);
Response.Redirect("../upload/test.vbs");
程序运行在服务器端,也就是cmd.exe调用的是服务器端的
这样可以调用客户端的cmd.exe吗??
程序只在线程里,而不会打开界面执行?