>>>I know how to play videos in fox.
>>>
>>>I want a video to play and when it's finished I want to display a form.
>>>
>>>Right now the form appears before the video's finished.
>>>
>>>How can I make sure that commands will be processed only after my video's finished?
>>>
>>>I want to do this without using a timer.
>>
>>How you play video?
>
>I borrowed some code from the samples. It's all in there.
Which one?
If you used "Play an AVI file in an ActiveX control" sample take a look in Done Event of the VCR control.
LPARAMETERS notifycode
IF notifycode = 1
This.Object.From = 0
This.Object.Command = "SEEK"
This.Object.Command = "PLAY"
ENDIF
So that is your event to check when the movie is finished
LPARAMETERS notifycode
IF notifycode = 1
DO FORM .....
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.