I havent go time to fully debug this, but this should set you in the right
direction. First add a COM reference to the Power Point Library 2.8
Private MyPowerPointSho w As New PowerPoint.Appl ication
Private SlideIndex As Integer
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As
System.EventArg s) Handles Button1.Click
MyPowerPointSho w.Activate()
MyPowerPointSho w.Presentations .Open("c:\MyPPT .pps",
Microsoft.Offic e.Core.MsoTriSt ate.msoTriState Mixed)
Me.Timer1.Enabl ed = True
End Sub
Private Sub Timer1_Tick(ByV al sender As System.Object, ByVal e As
System.EventArg s) Handles Timer1.Tick
MyPowerPointSho w.ActiveWindow. Presentation.Sl ides.Item(Slide Index).Select()
SlideIndex += 1
End Sub
--
OHM ( Terry Burns ) * Use the following to email me *
Dim ch() As Char = "ufssz/cvsotAhsfbuTpmv ujpotXjui/OFU".ToCharArra y()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar( Convert.ToInt16 (ch(i)) - 1)
Next
Process.Start(" mailto:" & New String(ch))
--
"Tor Inge Rislaa" <to************ *@rislaa.no> wrote in message
news:yF******** *********@news2 .e.nsc.no...
Running a PowerPoint Show (.pps) within VB.NET
Hi, I have a .NET application that I want to control the presentation of a
PowerPoint Show (.pps). The application should control when the show
should
start and when to stop. Is this possible?
TIRislaa