I wrote a command line application in C#.NET that programmatically edits an existing powerpoint, and then starts the slideshow. The powerpoint is automatically configured to advance slides. The problem I am running into is that powerpoint will quit after 4 hours. Any ideas?
3 Answers
If the computer's gone to sleep or the screensaver has kicked in, waking it back up should put you back inside a running slide show.
If the slide show has actually stopped, I think you can rule out a sleeping computer/screensaver problem. In that case, it might be a problem with your program or it might be that PPT just craps out after some amount of time running a slide show. In some versions on some computers (nobody's ever been able to pin down the magic combo that triggers this).
To rule that out, start the presentation independent of your app and see if it runs w/o problems.
Like everybody already mentioned. Maybe the screensaver or when the Presentation is over, it closes. Maybe you could write your program in such way, that when it is on the last slide, to start again from the 1st one, which will actually create an infinite loop. If your goal is to only show the slide show.