PC Review


Reply
Thread Tools Rate Thread

How can I play movie?

 
 
yuen
Guest
Posts: n/a
 
      22nd Nov 2003
Dear all,

How can I play movie, such as avi, wmv in ppc? Thx


 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      22nd Nov 2003
To play a WMV file you can P/Invoke the ShellExecuteEx API method to launch
Windows Media Player with the specified file. OpenNETCF WinAPI
(www.opennetcf.org/winapi.asp) contains a ShellExecuteEx implementation:-
[C#]
OpenNETCF.WinAPI.Core.ShellExecute("mymovie.wmv", null);

[VB]
OpenNETCF.WinAPI.Core.ShellExecute("mymovie.wmv", Nothing)

Pocket PC does not have any native support for AVI files. To launch these
you will need to install a third-party player - However once installed you
can use the same technique and ShellExecute will launch the application
registered with the AVI file type.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"yuen" <(E-Mail Removed)> wrote in message
news:bpn10e$1jmh$(E-Mail Removed)...
> Dear all,
>
> How can I play movie, such as avi, wmv in ppc? Thx
>
>



 
Reply With Quote
 
yuen
Guest
Posts: n/a
 
      23rd Nov 2003
Thanks for your help.

However, the emulator still cannot play wmv ,since the file type cannot be
recognized. What should I do then? How can I install Windows Media Player in
the emulator? I have already download wmnall.exe and ActiveSync , however,
ActiveSync find no device can be connected! Moreover, if i place the file,
wmnall.exe in the emulator, the file cannot run properly! Are there any
method allow me to install wmp in the emulator without using ActiveSync.

Thx!



"Peter Foot [MVP]" <(E-Mail Removed)> 在郵件
news:(E-Mail Removed) 中撰寫...
> To play a WMV file you can P/Invoke the ShellExecuteEx API method to

launch
> Windows Media Player with the specified file. OpenNETCF WinAPI
> (www.opennetcf.org/winapi.asp) contains a ShellExecuteEx implementation:-
> [C#]
> OpenNETCF.WinAPI.Core.ShellExecute("mymovie.wmv", null);
>
> [VB]
> OpenNETCF.WinAPI.Core.ShellExecute("mymovie.wmv", Nothing)
>
> Pocket PC does not have any native support for AVI files. To launch these
> you will need to install a third-party player - However once installed you
> can use the same technique and ShellExecute will launch the application
> registered with the AVI file type.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> OpenNETCF.org Senior Advisor
> www.inthehand.com | www.opennetcf.org
>
> "yuen" <(E-Mail Removed)> wrote in message
> news:bpn10e$1jmh$(E-Mail Removed)...
> > Dear all,
> >
> > How can I play movie, such as avi, wmv in ppc? Thx
> >
> >

>
>




 
Reply With Quote
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      23rd Nov 2003
Which emulator are you working with? Windows Media Player is available on
the Pocket PC 2003 emulator but not the Pocket PC 2002 emulator. Note there
is no installer for Windows Media Player for the emulator, the install
package is for installation on a "real" device connected through activesync.

Peter

--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org

"yuen" <(E-Mail Removed)> wrote in message
news:bpprjg$25o$(E-Mail Removed)...
> Thanks for your help.
>
> However, the emulator still cannot play wmv ,since the file type cannot be
> recognized. What should I do then? How can I install Windows Media Player

in
> the emulator? I have already download wmnall.exe and ActiveSync , however,
> ActiveSync find no device can be connected! Moreover, if i place the file,
> wmnall.exe in the emulator, the file cannot run properly! Are there any
> method allow me to install wmp in the emulator without using ActiveSync.
>
> Thx!
>
>
>
> "Peter Foot [MVP]" <(E-Mail Removed)> 在郵件
> news:(E-Mail Removed) 中撰寫...
> > To play a WMV file you can P/Invoke the ShellExecuteEx API method to

> launch
> > Windows Media Player with the specified file. OpenNETCF WinAPI
> > (www.opennetcf.org/winapi.asp) contains a ShellExecuteEx

implementation:-
> > [C#]
> > OpenNETCF.WinAPI.Core.ShellExecute("mymovie.wmv", null);
> >
> > [VB]
> > OpenNETCF.WinAPI.Core.ShellExecute("mymovie.wmv", Nothing)
> >
> > Pocket PC does not have any native support for AVI files. To launch

these
> > you will need to install a third-party player - However once installed

you
> > can use the same technique and ShellExecute will launch the application
> > registered with the AVI file type.
> >
> > Peter
> >
> > --
> > Peter Foot
> > Windows Embedded MVP
> > OpenNETCF.org Senior Advisor
> > www.inthehand.com | www.opennetcf.org
> >
> > "yuen" <(E-Mail Removed)> wrote in message
> > news:bpn10e$1jmh$(E-Mail Removed)...
> > > Dear all,
> > >
> > > How can I play movie, such as avi, wmv in ppc? Thx
> > >
> > >

> >
> >

>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Movie Maker Saved Projects wont play on XP Movie Maker =?Utf-8?B?Q2xldmVyX0Fs?= Windows XP MovieMaker 3 7th May 2007 06:56 AM
could play downloaded movie clips fine now they won't play =?Utf-8?B?TWFydGluTmVlZHNIZWxwUGxlYXNl?= Windows XP Video 6 8th Mar 2007 11:28 PM
Movie Maker Movie Won't Play Correctly =?Utf-8?B?QnJpYW4gUw==?= Windows XP MovieMaker 1 11th Dec 2005 08:08 PM
How do I play a Windows Movie Player movie in PowerPoint on a Mac? =?Utf-8?B?aGVtamV0d2lu?= Microsoft Powerpoint 0 10th Nov 2005 06:41 PM
my cd-rom drive cannot play a cd or cd-rom but can play DVD movie =?Utf-8?B?aG9zb2k=?= Windows XP General 0 24th May 2004 03:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:13 AM.