G
Guest
I am working on PowerPoint Automation.
I have an external application that runs PowerPoint slideshow. When I run my
app it creates a ~temp.ppt file as a copy of the active ppt and runs the
slideshow for that. I have been able to trap the events. On "SlideShowEnd" I
am closing this ~temp.ppt file:
Sub PPTEVENTS_SlideShowEnd(Pres as Presentation)
if Pres.Name="~temp.ppt" then
Pres.Close
Endif
End Sub
This works fine for single monitor. But, when I do this for dual monitor
(with Presenter view enabled) I get PowerPoint crash error message when the
line Pres.Close is executed. I am not sure what is happening in Dual Monitor
that makes PPT crash while executing this line. I searched on the net and got
an article related to corrupted VBE6.dll file but that didn't helped me.
One more thing I observed was if I click "End Show" button on the presenter
view then it closes the ~temp.ppt file without any error message.
Can anyone tell me what could be the possible reason for this? This is
really urgent.
Thanks a lot in advance.
I have an external application that runs PowerPoint slideshow. When I run my
app it creates a ~temp.ppt file as a copy of the active ppt and runs the
slideshow for that. I have been able to trap the events. On "SlideShowEnd" I
am closing this ~temp.ppt file:
Sub PPTEVENTS_SlideShowEnd(Pres as Presentation)
if Pres.Name="~temp.ppt" then
Pres.Close
Endif
End Sub
This works fine for single monitor. But, when I do this for dual monitor
(with Presenter view enabled) I get PowerPoint crash error message when the
line Pres.Close is executed. I am not sure what is happening in Dual Monitor
that makes PPT crash while executing this line. I searched on the net and got
an article related to corrupted VBE6.dll file but that didn't helped me.
One more thing I observed was if I click "End Show" button on the presenter
view then it closes the ~temp.ppt file without any error message.
Can anyone tell me what could be the possible reason for this? This is
really urgent.
Thanks a lot in advance.