powerpoint event

  • Thread starter Thread starter basic
  • Start date Start date
B

basic

I'm making a program with vb.net that capture events in powerpoint slide show, but I have a problem with function

Public Sub SlideShowNextBuild(ByVal Wn As PowerPoint.SlideShowWindow, ByVal nEffect As PowerPoint.Effect)

I'm not able to figure out to use index property of neffect object since for each event in main sequence I obtain 0 and I don't understand this bug.. how can I resolve it? thanks
 
Basic,
How have you arrived at the sub declaration? ByVal nEffect As Effect
declaration is only available for the SlideShowNextClick event.
Using WithEvents to set an event trap, I get the following:

Private Sub PPTEvent_SlideShowNextBuild(ByVal Wn As SlideShowWindow)

End Sub

Private Sub PPTEvent_SlideShowNextClick(ByVal Wn As SlideShowWindow, ByVal
nEffect As Effect)

End Sub

--
Regards
Shyam Pillai

Handout Wizard
http://www.mvps.org/skp/how/

I'm making a program with vb.net that capture events in powerpoint slide
show, but I have a problem with function

Public Sub SlideShowNextBuild(ByVal Wn As PowerPoint.SlideShowWindow, ByVal
nEffect As PowerPoint.Effect)
I'm not able to figure out to use index property of neffect object since for
each event in main sequence I obtain 0 and I don't understand this bug.. how
can I resolve it? thanks
 
Back
Top