-
1 Attachment(s)
AVI Files
I have a resource file which contains AVI's. I want to be to play the avi's on a VB 6 form. I have code which will do it and works using actual avi files, but can't seem to get it to work with resource id's.
The code I got from Karl Peterson's web site and is attached.
Can some one help me or point me in the right direction or alternatively tell where I can get a class to play the AVI file, rather than use the Multimedia control.
Thanks
BB
-
I haven't had a look on you code but I think the problem is that you have to save the avi you want to play as a tempfile on your harddrive before you open it...
You might want to have a look at this pdf http://www.ibirbal.com/downloads/vbrfkn.pdf it will tell you how to save gif and jpg files to tempfiles on you harddrive - shouldn't be too hard to make it work with avi's