المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Automation: Can't Quit PowerPoint due to Document Recovery Pane..



C# Programming
10-15-2009, 10:30 PM
Iam automating PowerPoint 2007. I want the PowerPoint run completely silent. Now the problem is if the previous instance of PowerPoint is crashed, next time I automate PowerPoint there will be entires in Document Recovery Pane, and on Appliaction.Quit(), it will show a dialog asking whether to delete or keep the those files in recovery pane. As Iam running PowerPoint without showing alerts, my automation client program stucks at that point. Plz help me to get rid of this...

To reproduce this issue, Open any ppt file in powerpoint. End the process POWERPNT.EXE from task manager. Next time when the PowerPoint is opened, it will show document recovery pane. Try closing Powerpoint, then a dialog box asking whether to keep or delete the recovered files will be shown. Powerpoint will be closed only after dismissing this dialog box. How to solve this?