Me gustaría poder avanzar a través de una presentación de Powerpoint al presionar los botones en forma de Windows. Aquí hay un código que he encontrado desde http://bytes.com/topic/c-sharp/answers/272940-open-powerpoint-presentation-c-window-form que abre un programa de presentación de diapositivas de PowerPoint:C# - forma de avanzar programáticamente la presentación de diapositivas de Powerpoint?
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();
no he encontrado ninguna métodos que pueden avanzar por las diapositivas, sin embargo. ¿Algunas ideas?
(Realmente lo que estoy tratando de hacer es usar el WiiRemote para avanzar las diapositivas, para un proyecto de estudiante).