我已使用
生成ppt来编写vb应用程序 Microsoft.Office.Interop.PowerPoint.Application
但是当我关闭我的应用程序时,所有功能点演示都会关闭(即使我的应用程序没有生成powerpoint演示文稿。)
我已经通过
关闭了应用程序ppApp.Quit() // where ppApp is an instance of Microsoft.Office.Interop.PowerPoint.Application
如果有人能指导我如何在不退出所有其他powerpoint演示文稿的情况下关闭并退出应用程序,我会深深鼓励
答案 0 :(得分:0)
Process.Start将执行一个知道如何处理.lnk的ShellExecute。 (假设你有一个与Powerpoint的捷径链接)
Process.Start(shortcutPath)