by DR Rocket (1 Submission)
Category: OLE/COM/DCOM/Active-X
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)
This example shows how to get at the MS PowerPoint application's COM. It can create a presentation and add slides to it. Text boxes can be added to the slides.
Inputs
User inputs via the usual VB controls.
Assumes
You need to add references to MS PowerPoint 8.0 Object Library and to Microsoft Office 8.0 Object Library.
Code Returns
A warm feeling of satisfaction.
Side Effects
Will create an MS PowerPoint presentation, if the user so elects.
API DeclarationsNone.
Download Simple Ppt Interface (11 KB)