How To Automate PowerPoint 2007 from .NET App

C

Corey B

I am trying to write a simple .NET console application that will use
PowerPoint 2007 to open up a .PPTX presentation and save it as a .PPT
presentation. I think that I have figured out how to do this in the
API. But on my dev machine do I need to have Office 2007 installed?
Currently I have Office 2003 installed and I don't want to update. Is
there any way to just get the DLLs that I need to reference in
the .NET app or do I have to install Office 2007 on my dev machine?

Thanks,
Corey
 
S

Steve Rindsberg

I am trying to write a simple .NET console application that will use
PowerPoint 2007 to open up a .PPTX presentation and save it as a .PPT
presentation. I think that I have figured out how to do this in the
API. But on my dev machine do I need to have Office 2007 installed?
Currently I have Office 2003 installed and I don't want to update. Is
there any way to just get the DLLs that I need to reference in
the .NET app or do I have to install Office 2007 on my dev machine?

Installing the Office 2007 compatibility pack will allow you to save as PPTX
from PPT 2003. Manually, at least. From another thread about this, I gather
that the ability to save as PPTX isn't exposed in the object model. You might
have to resort to feeding PPT keystrokes to make it work.
 
Top