Re: Accessing PowerPoint API from C++ - COM
From: Steve Rindsberg (abuse_at_localhost.com)
Date: 08/02/04
- Next message: Steve Rindsberg: "Re: Viewing a Powerpoint Slideshow without Powerpoint"
- Previous message: CPT270: "Repeat 1st slide"
- In reply to: Gandhi: "Re: Accessing PowerPoint API from C++ - COM"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 02 Aug 2004 17:21:00 EDT
In article <eE9ajVMeEHA.1732@TK2MSFTNGP09.phx.gbl>, Gandhi wrote:
> Thanks! This is almost what I was looking for!
Great!
> Ideally I was hoping to accomplish this without requiring PowerPoint to be
> instaled, but I suspected that would be next to imposible to achieve.
>
> I was also hoping to do this in C++, with the intention of reducing the VB
> run time library dependencies but I think I can take care of doing the
> equivalent in vanila COM and C++.
You can certainly write it in C++ or any other language that can act as an
automation controller. It doesn't have to be VB but VB is where you'll find
the most documentation and example code.
FWIW, unless you're targeting very old computers, you don't even need to ship
VB runtimes, just the EXE. The runtimes are installed as part of several of
the last versions of Windows, various versions of MSIE and updates to it, and
Office since 2000 or so, to the best of my recollection.
>
> Thanks again!
> -Gandhi
>
> "Steve Rindsberg" <abuse@localhost.com> wrote in message
> news:VA.0000088a.e044226f@localhost.com...
> > > I'm looking for some sample code that I can use to access the PowerPoint
> > > API. I'm trying to write a small application that can access a PPT File
> from
> > > a given a URL, and save the same as HTML. I'm assuming that the "Save as
> > > HTML" menu option in PowePoint is also available as a API that I can
> call.
> >
> > You can automate PowerPoint to do pretty much anything you can do manually
> with
> > it, but you need to have PowerPoint itself installed in order to automate
> it.
> >
> > It wasn't clear from your question whether this will be the case. If
> > PowerPoint will be installed, then start with these links:
> >
> > General info on Office Automation
> > http://www.rdpslides.com/pptfaq/FAQ00544.htm
> >
> > Driving Excel from PowerPoint. Driving PowerPoint from Excel. And so on.
> > http://www.rdpslides.com/pptfaq/FAQ00368.htm
> >
> > If PowerPoint won't be installed, then you won't be able to do much with
> > PowerPoint files.
> >
> > --
> > Steve Rindsberg, PPT MVP
> > PPT FAQ: www.pptfaq.com
> > PPTools: www.pptools.com
> > ================================================
> > Featured Presenter, PowerPoint Live 2004
> > October 10-13, San Diego, CA www.PowerPointLive.com
> > ================================================
> >
>
-- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ Featured Presenter, PowerPoint Live 2004 October 10-13, San Diego, CA www.PowerPointLive.com ================================================
- Next message: Steve Rindsberg: "Re: Viewing a Powerpoint Slideshow without Powerpoint"
- Previous message: CPT270: "Repeat 1st slide"
- In reply to: Gandhi: "Re: Accessing PowerPoint API from C++ - COM"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|