Playing video file on pocket pc
-
I have a PDA application, where my application need to click a button to run a video file. How can play video by a button click on my form? I am using mobile client software factory. Anyone can help?
Hi, Have a look at Alex's article on MSDN titled "Hosting ActiveX Controls in the .NET Compact Framework 2.0" - http://msdn2.microsoft.com/en-us/library/aa446515.aspx[^] This will show you how to host the Windows Media Player ActiveX control within your applicatoni. It's fairly heavy going. If all you need to do is play a file in the existing windows media player application you may like to investigate using the System.Diagnostics.Process class. You could use this to start "myVideo.wmv" and the device would determine the correct application to run to play the file. Hope it helps, Christopher Fairbairn