|
-
Nov 19th, 2008, 10:31 AM
#1
Thread Starter
New Member
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)
-
Nov 19th, 2008, 01:36 PM
#2
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Nov 19th, 2008, 04:27 PM
#3
Thread Starter
New Member
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)
-
Nov 19th, 2008, 05:02 PM
#4
Re: Media Player Controls
_____________________________________________________________________
----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.

-
Nov 21st, 2008, 05:41 AM
#5
Thread Starter
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|