Private Sub CmdPlay_Click()
Dim i As Long
Anplay.Open ("c:\Program Files\Microsoft Visual Studio\COMMON\Graphics\Videos\COUNT8R.AVI")
Anplay.Play
For i = -20000 To 20000
Form1.BackColor = QBColor(Rnd * 15)
Next
Anplay.Close
End Sub
AnPlay为Animation名称