Solved

Microsoft PowerPoint integration...

Posted on 2004-10-06
3
277 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
  • 3
3 Comments
 
LVL 11

Accepted Solution

by:
calinutz earned 500 total points
Comment Utility
DID YOU TRY THIS:

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

It's about automating PowerPoint
0
 
LVL 11

Expert Comment

by:calinutz
Comment Utility
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
Comment Utility
And to make different settings to the slide you have on the servers palette PowerPointPresentation and PowerPointSlide to play with.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now