Question and Answer Database FAQ866D.txt Displaying the first frame of an AVI File Category :VCL Platform :All Product :All 32 bit Question: How can I display the first frame of an AVI File? Answer: The following demonstrates a hard core technique to get the MediaPlayer to reliably show the first frame of an AVI file. Example: procedure TForm1.Button1Click(Sender: TObject); begin Application.ProcessMessages; MediaPlayer1.Open; Application.ProcessMessages; MediaPlayer1.Step; Application.ProcessMessages; MediaPlayer1.Previous; end; 7/16/98 4:31:28 PM
Last Modified: 01-SEP-99