Click to See Complete Forum and Search --> : AVI as a VB Resource


Alex Black
March 25th, 1999, 11:46 PM
Hi, I want to use the Animation Control to play an avi movie in one of my forms.


When I ship this this, I want the AVI to be part of the executable, not a standalone file. How can I do this?


I have put an AVI in my exe as a custom resource, how can Iplay this then?


Thanks!


- Alex

Chris Eastwood
March 26th, 1999, 03:28 AM
Hi


I've never used the Animation control in VB, but I have created a animation window using the Win32API which uses AVI's in a resource file - take a look at :


http://www.codeguru.com/vb/articles/1638.shtml



Regards


Chris Eastwood


Codeguru - the website for developers

http://www.codeguru.com/vb




Animated Dialogs in VB5 (Free source code for ActiveX DLL)

Alex Black
March 26th, 1999, 11:34 AM
Thanks Chris, that looks perfect! I'll give it a try.. I already got it working using another OCX I fount on the CCRP(Common Control Replacement Page), but your solutionlooks like it will be lighter.


- alex