VB.NET and Powerpoint

Joined
Nov 22, 2005
Messages
6
Location
uk
Programming Experience
1-3
Hello All I am developing a vb app that will sit on multipul pcs and open a powerpoint file at the same time on each pc (remotely). so I can using:

Dim oPP As Microsoft.Office.Interop.PowerPoint.ApplicationClass
Dim oPresSet As Microsoft.Office.Interop.PowerPoint.Presentations
Dim oPres As Microsoft.Office.Interop.PowerPoint.PresentationClass
oPP = CreateObject("PowerPoint.Application")
oPP.Visible =
True
oPresSet = oPP.Presentations
oPres = oPresSet.Open("c:\Presentation1.pps", , ,
True)

to open the powerpoint, but my question is, how do I move through the slides ? in other words, what code do I need to move to the next page f the powerpoint.
 
Have a look at the VBA reference for PowerPoint. It will list every property and method available to you. That's how I learned to automate Word and Excel: with their help systems.
 
It's part of PowerPoint itself.
 

Attachments

  • PowerPointHelp.JPG
    PowerPointHelp.JPG
    71.9 KB · Views: 55
Back
Top