Solved

Microsoft PowerPoint integration...

Posted on 2004-10-06
3
282 Views
Last Modified: 2010-04-05
Hello All,

Does somebody do integration with PowerPoint?
I need some samples how to integrate PowerPoint into my Delphi application
with ability to get all events which this ActiveX will generate.

Thanks,
Dan
0
Comment
Question by:DanDaemon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 11

Accepted Solution

by:
calinutz earned 500 total points
ID: 12235625
DID YOU TRY THIS:

http://www.djpate.freeserve.co.uk/AutoPpt.htm

It's about automating PowerPoint
0
 
LVL 11

Expert Comment

by:calinutz
ID: 12235681
To start PowerPoint and start a new presentation it's very easy:
Place a PowerPointApplication rename it to ppa and a Button on a form and then doubleclick on the button and enter this code:

procedure TForm1.Button1Click(Sender: TObject);
var
  t:TOleEnum;
begin
  Ppa.Activate;
  Ppa.Visible:= 1;
Ppa.Presentations.Add(1);
//upto now it starts the powerpoint and a new presentation
ppa.Presentations.Item(1).Slides.Add(1,1);
// now there's also a new slide on the presentation
end;
0
 
LVL 11

Expert Comment

by:calinutz
ID: 12235696
And to make different settings to the slide you have on the servers palette PowerPointPresentation and PowerPointSlide to play with.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month8 days, 11 hours left to enroll

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question