very basic question

Add-in Express™ Support Service
That's what is more important than anything else

very basic question
powerpoint : how to start the presentation ? 
yarek yarek




Posts: 1
Joined: 2011-06-13
This is a real basic question but I have spent some time on forum and I could not find the answer.

The goal of my project is to start the powerpoint presentation when a button bar is being pressed:

procedure TAddInModule.adxPowerPointAppEvents1NewPresentation(
ASender: TObject; const Pres: _Presentation);
begin
MessageDlg('I need to start the presentation now !', mtWarning, [mbOK], 0);
// I do not know HOW ?
end;

I have a (stupid) solution, which consists in simulating F5 pressing, but I am sure there must be a cleaner way to do it.

Any clue is welcome.

regards
Posted 13 Jun, 2011 20:10:31 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Hi yarek,

See Pres.SlideShowSettings and properties and methods it provides.

Does it help?


Andrei Smolin
Add-in Express Team Leader
Posted 14 Jun, 2011 01:26:36 Top