I would like to know how to play an avi file and possibly enable the transparent background part of it.
Thanks in advance.
Printable View
I would like to know how to play an avi file and possibly enable the transparent background part of it.
Thanks in advance.
Try using the Windows Media Player Control.
Use the Animation control:
Code:Animation1.Open "Graphics\Avis\Download.avi"
Animation1.Play
What's the name of the component I should add to get the animation control. I know I'vce seen it in there somewhere but I just can't remember which one it is.
The name is Microsoft Windows Common Controls-2
You should be aware of that the animation control can't play .avi files that contains any sound. The control is some what limited.
It is enough to play the simple .avi files that comes with VB though.
Best regards
If you would like sound, use the Multimedia Control.
Code:MMControl1.Command = "Open"
MMControl1.DeviceType = "AVIVideo"
MMControl1.Command = "Play"
Hi,
Try using the active movie control.
How do you use the MMControl to play to a picture box
I think you can use mciSendString API for that.