Introduction

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.

Requirements

This sample requires that your computer have the following applications installed:

To run the sample

  1. In Solution Explorer, open PowerPointlAuto.sln.

  2. Press F5.

Demonstrates

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.

Source Code Files