Pro VB 6For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
anybody knows how to autoplay an .avi files(Not animation, its a video files)?Which component should I use? I also want to control the length of the movie using timer...any help will be appreciated thanks
P.S.: the autoplay part I want it to play without having me to click any command button
the easiest way is to use the "Miscrosoft Multimedia Control", in the MSDN there is also a simply example on how to use it.
If you have more control and do it yourself, you can use the mciSendString API in winmm.dll