Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. play video files on Windows Mobile 5.0 Pocket PC

play video files on Windows Mobile 5.0 Pocket PC

Scheduled Pinned Locked Moved Mobile
csharpvisual-studiohelptutorialquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FMfm
    wrote on last edited by
    #1

    Hi, I am developing a PDA application on Windows Mobile 5.0 Pocket PC SDK. I am using Visual Studio 2005 and C# as language. I need to play video files (.wmv) with WMPlayer 10, but I do not know how to do it. Anybody can help me? Any code examples? Thanks

    A 1 Reply Last reply
    0
    • F FMfm

      Hi, I am developing a PDA application on Windows Mobile 5.0 Pocket PC SDK. I am using Visual Studio 2005 and C# as language. I need to play video files (.wmv) with WMPlayer 10, but I do not know how to do it. Anybody can help me? Any code examples? Thanks

      A Offline
      A Offline
      Arjun Marwaha
      wrote on last edited by
      #2

      See this: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=395350&SiteID=1 But it might also be possible to use ShellExecute (available from NETCF2.0) on your media files like the example below: Code Snippet Proces p = new Process(); p.StartInfo.FileName = @"\myfolder\myfile.wmv"; p.StartInfo.UseShellExecute = true; p.Start(); Regards, Dave

      Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com

      F 1 Reply Last reply
      0
      • A Arjun Marwaha

        See this: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=395350&SiteID=1 But it might also be possible to use ShellExecute (available from NETCF2.0) on your media files like the example below: Code Snippet Proces p = new Process(); p.StartInfo.FileName = @"\myfolder\myfile.wmv"; p.StartInfo.UseShellExecute = true; p.Start(); Regards, Dave

        Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com

        F Offline
        F Offline
        FMfm
        wrote on last edited by
        #3

        But on this way I do not use the WMPlayer SDK. Do you know any WMPlayer control for Windows Mobile 5.0? The OpenNETCF does not work well with my pda. Do you know another though it not be free? Regards

        A 1 Reply Last reply
        0
        • F FMfm

          But on this way I do not use the WMPlayer SDK. Do you know any WMPlayer control for Windows Mobile 5.0? The OpenNETCF does not work well with my pda. Do you know another though it not be free? Regards

          A Offline
          A Offline
          Arjun Marwaha
          wrote on last edited by
          #4

          I am not sure what you mean by "But on this way I do not use the WMPlayer SDK". Why would you not like to use the Windows Media Player to open the media files? To run windows media player to open a file, use the code below: System.Diagnostics.Process.Start("\Windows\wmplayer.exe", """\My Documents\My Music\new song.mp3""") Regards, Dave

          Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups