【发布时间】:2023-03-11 15:16:01
【问题描述】:
我在共享点 Web 部件中有一个按钮,单击该按钮应该启动计算器:
protected void Button1_Click(object sender, EventArgs e)
{
Process process = new Process();
process.StartInfo = new ProcessStartInfo("Calc.exe");
process.Start();
}
但是,当单击按钮时,什么也没有发生。谁能告诉我如何从共享点 Web 部件启动应用程序?
【问题讨论】:
标签: sharepoint web-parts exe