Hi guys

I've written an application that utilizes the COM object (PowerPoint) that creates custom presentations by copying slides from various presentations on the server.

The script seems to work fine, but every so often if I try and copy too many slides from too many presentations it crashes the Powerpoint COM object?

Is there some way I can prevent this from happening or at least check whether PowerPoint has crashed from my PHP script?

Once the PowerPoint object has crashed, it prevents other users from creating PPT files!!

I'm really stuck I dont know what to do,

I'm using IIS if this makes a difference

Any help would be very much appreciated