Wndows Media Player in Windows 2003SE

D

dave m

In its simplest form, I'd like to pass a filename (*.wmv) to the WMPlayer
and have it play in its own process, something similar to shelling . Is
this possible?

From what I've been finding, does working with WMPlayer have to be done in a
Windows Mobile 5 environment due to some newer API's? (see
http://msdn2.microsoft.com/en-us/library/aa454909.aspx) I'm targeting
devices using Windows 2003SE.

If not ,is anyone aware of any third-party controls to play video (any type)
on Pocket PC.

My design environment is vb.net (CF 2.0).

Thanks,

Dave M.
 
P

Peter Foot [MVP]

You can use the VB.NET Shell function or System.Diagnostics.Process.Start to
launch a .wmv file, it will cause the registered application to be launched.
Windows Mobile 5.0 includes media player 10 which has an ActiveX automation
model (A few WM2003SE devices have this version of media player but most do
not). It is possible to work with the media player control through COM
interop and some extra work (.NETCF 2.0 doesn't support ActiveX hosting out
of the box). See:-
http://blog.opennetcf.org/afeinman/PermaLink,guid,1dfc3c39-d3cc-4faa-b5f6-cb5c9aed61dd.aspx

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top