Demonstrates how to start PowerPoint, create a blank presentation, add a slide and content, print slides, save your changes, and exit PowerPoint from within a Visual Basic application.
This sample requires that your computer have the following applications installed:
Visual Studio 2010
Microsoft Office Excel 2007
Microsoft Office PowerPoint 2007
In Solution Explorer, open PowerPointlAuto.sln.
The sample consists of a solution named PowerPointAuto.sln that contains a single project: PowerPointAuto.vbproj. This project is a Windows-based application that has a single form that remotely controls PowerPoint.
When the PowerPointAuto application runs, it opens a single form that has buttons for automating PowerPoint.