F
fd123456
I have a presentation (in Slideshow view) that I automate from C#.
On one slide, I have a short AVI. I would like to be able to
play/pause it, by code and not by clicking on it.
I haven't found anything at all on this anywhere (MSDN, groups,
web...). Is it at all possible?
I can play it by doing this :
myAVI.AnimationSettings.PlaySettings.RewindMovie = msoFalse;
myAVI.AnimationSettings.PlaySettings.PlayOnEntry = msoTrue;
myAVI.AnimationSettings.AdvanceMode = PpAdvanceMode.ppAdvanceOnTime;
myAVI.AnimationSettings.AdvanceTime = 0F;
....but I can't pause it.
I already know that PlaySettings.PauseAnimation does not pause the
movie, but pauses the animation WHILE the movie plays.
Fiddling with the AdvanceTime only resets the movie (it rewinds it
even though the RewindMovie param is set to false).
AnimationSettings.Animate doesn't play the AVI.
If not, is it possible to send the "click" command to a Shape? Haven't
found anything about that either...
Has anyone already found a solution to this ?
On one slide, I have a short AVI. I would like to be able to
play/pause it, by code and not by clicking on it.
I haven't found anything at all on this anywhere (MSDN, groups,
web...). Is it at all possible?
I can play it by doing this :
myAVI.AnimationSettings.PlaySettings.RewindMovie = msoFalse;
myAVI.AnimationSettings.PlaySettings.PlayOnEntry = msoTrue;
myAVI.AnimationSettings.AdvanceMode = PpAdvanceMode.ppAdvanceOnTime;
myAVI.AnimationSettings.AdvanceTime = 0F;
....but I can't pause it.
I already know that PlaySettings.PauseAnimation does not pause the
movie, but pauses the animation WHILE the movie plays.
Fiddling with the AdvanceTime only resets the movie (it rewinds it
even though the RewindMovie param is set to false).
AnimationSettings.Animate doesn't play the AVI.
If not, is it possible to send the "click" command to a Shape? Haven't
found anything about that either...
Has anyone already found a solution to this ?