How can I play/pause an avi in PPT from dotnet?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: fd123456 (fd123456_at_hotmail.com)
Date: 02/20/04


Date: 20 Feb 2004 05:33:27 -0800

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 ?



Relevant Pages

  • Re: Movie in slide show plays ok when composing show, but will not play in show on another computer
    ... I went back to the basic .avi file and tried it on one of the resistant ... PP will play the movie when I ... Movie in slide show plays ok when composing show, ...
    (microsoft.public.powerpoint)
  • Re: Windows Movie Maker problems I have encountered.
    ... If you can avoid using AVI as an interim step, you may be better off contextually. ... occurences when it won't play past the frozen point, ... I cannot play through any more of the movie after the freezing issue. ...
    (microsoft.public.windows.vista.music_pictures_video)
  • Re: Media Center and Xbox 360 video streaming problems.
    ... You might search for and install FFDShow, which I've found to be among the ... I used it to convert the movie "Alpha Dog" to WMV it succesfully ... Also on another note when I try to play ... AVI files through Media Center it tells me that I have the incorrect ...
    (microsoft.public.windows.mediacenter)
  • Re: Media Center and Xbox 360 video streaming problems.
    ... including nero, WINAVI, and DVDSanta. ... I used it to convert the movie "Alpha Dog" to WMV it succesfully ... Also on another note when I try to play ... AVI files through Media Center it tells me that I have the incorrect ...
    (microsoft.public.windows.mediacenter)
  • WMP 10 Media
    ... Has anybody else had issues with playing a VGA movie? ... Everytime I play one and have to pause it and power off - when later I power ... If I play a QVGA movie I do NOT have this issue? ...
    (microsoft.public.pocketpc.multimedia)