PowerPoint Application .Quit() is causing all processes to be closed

65 Views Asked by At

We have some code where we are using Microsoft.Office.Interop.PowerPoint to export some dashboards. We are seeing issues where when we export the dashboard everything is working, but within 2 minutes or so ALL opened Power Points are automatically closed. It is like the main process on the OS for Power Point is killed.

We just now started noticing it with our applications with code that has been running for awhile.

Could a security patch or OS change possibly caused this?

 _powerPoint.Quit();

If we comment out the above line of code, early test, have proved that the all the Power Point files stay open after that 2 minute time.

Has anyone encountered this at all? Like earlier stated, I'm curious if an OS change has occurred with unintended consequences.

Thanks.

0

There are 0 best solutions below