Process.Start()方法.使用此功能,您将能够启动Excel,传入适当的参数以将其发送给您的XML文件.
例:
System.Diagnostics.Process.Start("c:\\program files\\microsoft office\\office12\\excel.exe", "/r \"c:\\My Folder\\book1.xlsx\"");
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2818 次 |
| 最近记录: |