Results 1 to 5 of 5

Thread: Media Player Controls

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Location
    South Scotland
    Posts
    3

    Media Player Controls

    As part of my Advance Higher computing course at school, we are required to do a project, and for mine i have chosen to do a media player.

    i have managed to successfully get the program to search for a media file using the "CommonDialogBox" and i have also managed to get a tag editor working.

    i having huge problems implenting the playlist function though.
    The program can right an array of URL's which i can get to indivudually play, but i can't move through the array. I can select each file in the array and play it, but i can't get the "Fast Forward" and "Rewind" button's to work, they are grey'd out.

    i have spent countless hours browsing the internet trying to find some help on how to get the "Fast Forward" and "Rewind" button but to no avail.

    Any body got any idea's on how to get this to work

    cheers
    Grant (wingnuttzz)

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Media Player Controls

    Welcome to the Forums.

    I assume you are using Windows Media Player?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Location
    South Scotland
    Posts
    3

    Re: Media Player Controls

    sorry, i should have stated that in the original post

    but in answer to your question, yes, i am using windows media player (found under "progect" and then "components" or something similar)

  4. #4
    Frenzied Member some1uk03's Avatar
    Join Date
    Jun 2006
    Location
    London, UK
    Posts
    1,675

    Re: Media Player Controls

    wmp.Controls.fastForward
    _____________________________________________________________________

    ----If this post has helped you. Please take time to Rate it.
    ----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.



  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2008
    Location
    South Scotland
    Posts
    3

    Re: Media Player Controls

    I have tried the above code, and found to make no difference at all.

    Upon fiddling around with Windows Media Player (The actual one in XP/Vista) and creating a playlist and opening that playlist file in my program the "FastFoward" and "Back" button work now.

    I went on to open the playlist file in notepad and it turns out to be very simple xml code.

    so i think the answer to my question is to create a text file, write the first part of the xml code to it, add my array of URL's and then finish the xml code and that should work

    hope that makes sense
    System: Intel C2Q Q6600 @ 3.4ghz, Evga 790i Ultra, 4gb OCZ Reaper 2000mhz, 9800gtx @ 800/2000/2200, 2 320gb Hitachi HDs RAID 0, Samsung 2253bw 21" Monitor, Windows Vista Ultimate

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