Platform : Windows 11, Windows 10, Windows 8, Vista, XP
For Windows Developers who need play the PowerPoint presentation without installed MS PowerPoint for C#, C++, VB.NET , VB6, Delphi, VFP, MS Access.
Step 1: To install the Power Point Viewer SDK ActiveX Control, begin by launching the setup file (http://www.viscomsoft.com/demo/powerpointviewersetup.exe). Select the desired installation folder for the Power Poiint Viewer SDK ActiveX and continue with the installation on your development computer.
Step 2: Installed Microsoft Free PowerPoint Viewer 2010.
Step 3: Create New Visual C# Project, select Windows Forms Application
Step 4: In Solution Explorer, select References ,right click mouse to select Add Reference...
Select COM tab, select Power Point Viewer Control SDK
Step 3: Add the following code in Form1.cs
public partial class Form1 : Form
{
PowerPointViewer.PowerPointViewerControl objPPTViewer=null;
Step 4: In form load event , add the following code
private void Form1_Load(object sender, EventArgs e)
{
objPPTViewer = new PowerPointViewer.PowerPointViewerControl();
objPPTViewer.Fastmode= true;
objPPTViewer.Open("c:\\yourfile.pptx", 0, 0, 320, 240);
objPPTViewer.SetPPTViewerParent((short)this.Handle);
}