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)
精彩评论