开发者

Microsoft.Office.Interop.PowerPoint vb question

开发者 https://www.devze.com 2023-03-23 05:24 出处:网络
I have coded a vb app using to generate 开发者_开发技巧ppt using Microsoft.Office.Interop.PowerPoint.Application

I have coded a vb app using to generate 开发者_开发技巧ppt using

 Microsoft.Office.Interop.PowerPoint.Application

But when I close my app, all power point presentations gets closed ( even the powerpoint presentation not generated by my app. )

I have closed the app at the end by

ppApp.Quit() // where ppApp is an instance of Microsoft.Office.Interop.PowerPoint.Application

I would appreicate deeply if anyone could please guide me as to how can I close and exit app without quitting all other powerpoint presentations


Process.Start will do a ShellExecute that knows how to process a .lnk. (Assuming you have a short cut link to Powerpoint)

Process.Start(shortcutPath)
0

精彩评论

暂无评论...
验证码 换一张
取 消