title: How to open a powerpoint within a WPF page
body: <p>I'm currenlty trying to open a PowerPoint inside my WPF program. I would like to have it embedded into my page and also to use custom controls to the presentation (not the default user bar). </p>
  
  <pre><code>string FileName = "filePath";
  Microsoft.Office.Interop.PowerPoint.Application application = new PowerPoint.Application();
  application.SlideShowEnd += new Microsoft.Office.Interop.PowerPoint.EApplication_SlideShowEndEventHandler(powerpnt_SlideShowEnd);
  Microsoft.Office.Interop.PowerPoint.Presentation presentation = application.Presentations.Open2007(FileName, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoTrue);
  Microsoft.Office.Interop.PowerPoint.SlideShowSettings sst = presentation.SlideShowSettings;
  sst.ShowType = Microsoft.Office.Interop.PowerPoint.PpSlideShowType.ppShowTypeSpeaker;
  sst.Run();
  </code></pre>
  
  <p>The code is working and I can open the PPT Presentation, however, it is fullscreen and I can't find a way to handle the window...</p>
  
  <p>Any idea?</p>