Unable to capture events wither in C# or Visual basic.NET

  • Thread starter Satvinder Singh
  • Start date
S

Satvinder Singh

Hi,

I have created an Addin for PowerPoint using Visual
Basic.NET. I'm interested in capturing the events that
will occur when the SlideShow begins, Ends and when the
next slide is clicked during the show. All these events
should become available to my addin.

The steps that are taking place -

Step 1 - I start PowerPoint and open a presentation.

Step 2 - My Addin displays a toolbar with a single
button. After I start PowerPoint, my toolbar is visible
and I click on the button.

Step 3 - The Click event of the button handles the code
wherein I start the slide show.

I have written an event handler for the SlideShowBegin.
Please note the my event handler is in my addin and not
in the VBA Script area in PowerPoint. I want my addin to
capture my event.

Now when the slide show starts no event is thrown.

Any help will be appreciated. Infact I'm so desperate
that an idea will be appreciated too.

Thanks,

Satvinder
 
B

B

Why not mix the languages? (Insert image of the tower of babble)

Use a VBA event capture add-into trigger you custom C# routines. Or are you
doing some sort of a "we don't need no stinking VBA." experiment? Seems
like you may be trying to re-invent a wheel with non-round specifications.
VBA can capture events, there are several excellent routines available.

Of course this is just my opinion, but the VBA captures seem to work well
for what I need. Perhaps they can be modified to call your routines, too.

B
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
 

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