as long as ASPNET account or the account the page is run under has permissions, add a OnClick handler for the button, void Button_Click(Object sender,EventArgs e)
{
        System.Diagnostics.Process.Start("YourApplicationPath");
}

解决方案 »

  1.   

    如果想要给aspnet执行某个应用程序的权限,如何设置
    感谢老大思归
      

  2.   

    what kind of program? if they are com servers, use "DCOMCNFG"if they are normal apps, in windows explorer, right click on the exe, open its properties page, go to security tab, add ASPNET account, but if this exe has dependencies on other files, you may need add permissions for them too
      

  3.   

    script>
    function run()
    {
    var obj = new ActiveXOjbect("WScript.Shell");
    obj.Run("c:\\winnt\\notepad.exe");
    }
    </script><input type=button value="运行" onclick="run()">
      

  4.   


    var shell=new ActiveXObject("wscript:shell");
                shell.run("nodepad d:\\test.ini");
      

  5.   

    >>>>我用你指导的方法虽然可以调度程序的产生,但只是出现在进程管理器中,而并没有弹出应>>>>用程序的界面,应该如何修改啊????what do you expect? ASP.NET runs in a different winstation and has no interaction with the desktop of the currently logged-on user