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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. "Add to Windows Media Player list" from vb.net

"Add to Windows Media Player list" from vb.net

Scheduled Pinned Locked Moved Visual Basic
helpcsharpdatabasevisual-studio
3 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.
  • K Offline
    K Offline
    Kong Ragge
    wrote on last edited by
    #1

    Hi, I have made a database where I can sort all my mp3's. When I search for an artist, I can open a song in Windows Media Player just by double-clicking it. My problem is that if I want to play more than 1 song at a time, Windows Media Player removes my "Now playing" list and starts playing the song I only want to ADD to the list. I have searched for a solution for this and I found some info at this page, http://msdn.microsoft.com/en-us/library/aa386383(VS.85).aspx[^], but it did not solve my problem. I still can't add a song to the "Now playing" list. :sigh: What I want is a command that behaves like when I r.click on a mp3-file in Explorer and choose "Add to Windows Media Player list". I would be very grateful if anyone can help me with this. I have tried to find a solution for 4-5 hours now and I'm close to giving up... - Ragnar

    L 1 Reply Last reply
    0
    • K Kong Ragge

      Hi, I have made a database where I can sort all my mp3's. When I search for an artist, I can open a song in Windows Media Player just by double-clicking it. My problem is that if I want to play more than 1 song at a time, Windows Media Player removes my "Now playing" list and starts playing the song I only want to ADD to the list. I have searched for a solution for this and I found some info at this page, http://msdn.microsoft.com/en-us/library/aa386383(VS.85).aspx[^], but it did not solve my problem. I still can't add a song to the "Now playing" list. :sigh: What I want is a command that behaves like when I r.click on a mp3-file in Explorer and choose "Add to Windows Media Player list". I would be very grateful if anyone can help me with this. I have tried to find a solution for 4-5 hours now and I'm close to giving up... - Ragnar

      L Offline
      L Offline
      LCARS x32
      wrote on last edited by
      #2

      Looking though the file options for WMA files, I found that when you click on a WMA file, Windows uses the following command: "C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:5 /Play "%L" %L is the path to the file/files (I assume). You will have to experiment. Usually %1 indicates the path. Hope that helps, Ray

      K 1 Reply Last reply
      0
      • L LCARS x32

        Looking though the file options for WMA files, I found that when you click on a WMA file, Windows uses the following command: "C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:5 /Play "%L" %L is the path to the file/files (I assume). You will have to experiment. Usually %1 indicates the path. Hope that helps, Ray

        K Offline
        K Offline
        Kong Ragge
        wrote on last edited by
        #3

        Thanks for answer, but it did not help me with my problem. But I got some nice results when I searched with /prefetch that showed me that Winamp could do what I needed, so now I can just do it with 'Winamp /add "songname"' - R

        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