C# - moyen de faire avancer le diaporama Powerpoint?

J'aimerais être capable d'avancer à travers une présentation Powerpoint en appuyant sur des boutons dans un formulaire Windows. Voici un code que j'ai trouvé de http://bytes.com/topic/c-sharp/answers/272940-open-powerpoint-presentation-c-window-form qui s'ouvre d'une présentation Powerpoint diaporama:

Microsoft.Office.Interop.PowerPoint.Application oPPT;
Microsoft.Office.Interop.PowerPoint.Presentations objPresSet;
Microsoft.Office.Interop.PowerPoint.Presentation objPres;

//the location of your powerpoint presentation
string strPres = @"filepath";

//Create an instance of PowerPoint.
oPPT = new Microsoft.Office.Interop.PowerPoint.ApplicationClass();

//Show PowerPoint to the user.
oPPT.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;

objPresSet = oPPT.Presentations;

//open the presentation
objPres = objPresSet.Open(strPres, MsoTriState.msoFalse,
MsoTriState.msoTrue, MsoTriState.msoTrue);

objPres.SlideShowSettings.Run();

Je n'ai pas trouvé de méthodes qui peuvent progresser à travers les diapositives, cependant. Des idées?

(Vraiment ce que j'essaie de faire est d'utiliser la WiiRemote pour faire avancer les diapositives, pour un projet étudiant).

OriginalL'auteur David Hodgson | 2009-09-23