PowerPoint 2007 Close Event via Managed Add-in ???

G

Guest

Hi,

I am working on a project which requires me to create a Managed Add-in to
work with PowerPoint 2007.

Now here in PowerPoint we don't have any event as BeforeClose like we have
in Word.

I want to close PowerPoint on conditional bases from the application.

I am using VS 2005, .Net 3.0, Office 2007.

Can any one please give me any solution for the same..?

Thanks in Advance...


--
D.C

....on the deadline, project should be buried where it belongs...

....can be done...
 
A

Austin Myers

D.C said:
Hi,

I am working on a project which requires me to create a Managed Add-in to
work with PowerPoint 2007.

Now here in PowerPoint we don't have any event as BeforeClose like we have
in Word.

Yes there is. :)

Private Sub application_PresentationClose(ByVal Pres As Presentation)


You will of course need to build a Class module to trap PPT's events.



Austin Myers
MS PowerPoint MVP Team

Provider of PFCMedia, PFCPro, PFCExpress
http://www.pfcmedia.com
 
G

Guest

Hey Austin,

Thanks for the post...I am sorry for being late but I was busy with some
other releases...

I am a novice to Office Programming can you please tell me how I can trap
PPT's events..?

And which events I should trap..?
--
D.C

....on the deadline, project should be buried where it belongs...

....can be done...
 

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