Crude code sample follows...
'BeginRetab
Option Explicit
'.............................................
Private Sub Form_Click()
Animation1.AutoPlay = False
Animation1.Stop
End Sub
'.................................................
Private Sub Form_Load()
With Animation1
.Open "d:\utilities\videdit\work\filecopy\filecopy.avi"
.Play 10
End With
End Sub
Cecil
Quote:
> Hi there,
> which control should I use to play an avi file.
> I don't want a control bar, and I would like to be able to start, stop
> and change its visibility.
> I have inserted an AVIFile object and, but I don't know how to start it
> from runtime.
> Any help is welcome.
> Regards, John Dehaeze
--
Cecil A. Galbraith
CustomSoft
MFC tips and Tricks and Free Programmer's Utilities
http://www.concentric.net/~cgalbrai