我想将命令行参数传递给 MS Office 程序(Excel、Word、Powerpoint),如下所示,
"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.exe" "c:\Book1.xlsx" /e/<arg1>
为了能够在 MS Office 插件事件函数中访问它们
private void button1_Click(object sender, RibbonControlEventArgs e){}
我想将命令行参数传递给 MS Office 程序(Excel、Word、Powerpoint),如下所示,
"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.exe" "c:\Book1.xlsx" /e/<arg1>
为了能够在 MS Office 插件事件函数中访问它们
private void button1_Click(object sender, RibbonControlEventArgs e){}