Click to See Complete Forum and Search --> : Playing AVI files
josmond
Jan 12th, 2000, 07:11 PM
I am trying to play an AVI file within my form. I have tried using the microsoft animation control but getting 'Could not open this AVI file' - I think it could be a compressed AVI file that i am trying to play, but if you right click in explorer and click preview (which is exactly how i would like to see it) it plays it no problem.
Aaron Young
Jan 12th, 2000, 10:26 PM
Try the ActiveMovie Control, ie.
Private Sub Command1_Click()
ActiveMovie1.FileName = "Wizards\PDWizard\Working.avi"
End Sub
Private Sub ActiveMovie1_OpenComplete()
ActiveMovie1.Run
End Sub
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.