开发者

Microsoft.Office.Interop.PowerPoint vb question

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜