Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

Microsoft PowerPoint integration...

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
DanDaemon
Asked:
DanDaemon
  • 3
1 Solution
 
calinutzCommented:
DID YOU TRY THIS:

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

It's about automating PowerPoint
0
 
calinutzCommented:
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
 
calinutzCommented:
And to make different settings to the slide you have on the servers palette PowerPointPresentation and PowerPointSlide to play with.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now