Powerpoint Events

Add-in Express™ Support Service
That's what is more important than anything else

Powerpoint Events
basic question (I think) about working with powerpoint 
Jeremy P




Posts: 13
Joined: 2007-01-30
I'm new at this but...

I'm trying to build a powerpoint addin, and I'm having trouble with events.

I have the AddinModule with the AdxPowerPointEvents Component added.

I've successfully attached to the PresentationNewSlide event, but I'm having trouble using it. I'm not sure how to get the slide object in the event. The only parameters passed were a sender object and a hostObj object.

In the old way using interop services when attaching to the newslide event the slide would be passed as a parameter.

Thanks for any help
jp
Posted 30 Jan, 2007 14:54:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Jeremy.

Please try the following code:

PowerPoint._Slide slide = hostObj as PowerPoint._Slide;
if (slide != null)
{
}


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 31 Jan, 2007 13:14:30 Top