CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2011
    Posts
    15

    Windows Media Player ????

    l am trying a music project using WMPlayer .
    What l want to do is , on loading in a ListView several songs from a Playlist to add a column with the duration of each song , as the songs are loaded .
    Althought l can get the duration when a song is playing l haven't managed to find the right syntax from the properties of WMP for the above .

    Any help will be appreciated
    George

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Windows Media Player ????

    Try ALlapi

    Or, DirectX.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2011
    Posts
    15

    Re: Windows Media Player ????

    Thanks David ,

    Can't find though any relevant APIs or DirectX to solve the problem
    George

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Windows Media Player ????

    Search for VB6 DirectX

    http://directx4vb.vbgamer.com/Direct...T_DX7Start.asp

    VB6 is too old. My old site is gone, I guess
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Windows Media Player ????

    If you search the internet hard enough, you will find Windows Media Player SDKs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured