Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Microsoft PowerPoint integration...

Posted on 2004-10-06
3
Medium Priority
?
286 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

876 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