powerpoint event

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
 
S

Shyam

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top