?
Solved

get the number of builds in each slide of powerpoint

Posted on 2006-05-29
1
Medium Priority
?
267 Views
Last Modified: 2010-04-05
As we know, PowerPoint slideshow includes serveral slides, each slide also include some builds.

I just want to know how to get the number of builds in each slide.

Sincerely
0
Comment
Question by:wangzheng
1 Comment
 
LVL 3

Accepted Solution

by:
Mamouri earned 1000 total points
ID: 16784605
I don't know build property for slide. I also search at powerpoint help but i could not find build or something property for slide. but if you want to get build number of powerpoint itself you could use such code:

var
  PowerPnt: OLEVariant;
begin
  try
    PowerPnt := CreateOleObject('PowerPoint.Application');
  except
    ShowMessage('Failed');
    PowerPnt := Unassigned;
    Exit;
  end;
  if VarIsEmpty(PowerPnt) then
    Exit;

  PowerPnt.DisplayAlerts := 0;

  ShowMessage(PowerPnt.Build);
  ShowMessage(IntToStr(PowerPnt.ActivePresentation.Slides.Item(1).SlideID));

  PowerPnt.Quit;
  PowerPnt := Unassigned;


It also show you SlideID of active presentation.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month17 days, 10 hours left to enroll

829 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