myThread = New thread(AddressOf TestThread) 'Creates a new thread
'myThread.IsBackground = True ' Didn't seem to do much
Dim oPP As Object
Dim i As Integer
'Dim OpenPres As String = "C:\PowerpointTest.pps"
'oPP = CreateObject("PowerPoint.Application") 'no need to create if PP is running
oPP = GetObject(, "PowerPoint.Application")' Seem to communicate with the running PPS show
oPresSet = oPP.Presentations
i = oPP.SlideShowWindows.Count
If i > 0 Then
oPP.Run("'PowerpointTest.pps'!CallWait") 'Run the macro to Pause the pps Show - this actually appear to work
oPresSet = Nothing
'oPP.Quit() 'This quit all Power point processes running
oPP = Nothing
Can anyone point me in the direction as to how I can get rid of the active power point window and have the presentation start running again. It is causing me no end of trouble as the presentation updates links every time through and if I am saving
a file that it links to the VB app fails!
Thursday, October 14, 2010 6:32 AM
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.