Hey Matey, posted the code on the forum, so have a look and let me know if you have any problems, this code was so hard to find ill tell you that..
Cheers
Robbie
User Profile
Collapse
Profile Sidebar
Collapse
robbietapping
Last Activity: Jun 17 '09, 07:50 AM
Joined: Apr 8 '09
Location: Melbourne
-
Hey Waco78, Apologies i forgot to add this code in here..
Johnathan Bradshaw (ABSOLUTE LEGEND) wrote this class to go and re-iterate through the process nodes and see what is being opened.
The way i did it was (Cause its in C#) instead of just converting the code.. i created a solution, and compiled the c# code as a library file, then was able to reference it in the C#. net, obviously there are easy ways, but the way...Last edited by Frinavale; May 1 '09, 01:03 PM. Reason: Added code tags. Please post code in [code] [/code] tags.Leave a comment:
-
Hey, I found your code about detecting open song. It's exactly what I was looking for. But where did you find the class DetectOpenFiles ?
Thanks. -
Hi Guys,
Thought i would send through the Vb.net code for how to get the currently playing song in a Media Centre Environment.
The way it works is it hooks on to the backgroup WMPlayer process, and sees what files it currently has opened, it then loops throught them until it finds a matching extention.
This code will also work in a standard application without media centre..
Code:Public
Last edited by Frinavale; Apr 15 '09, 01:39 PM. Reason: Added code tags. Please post code snippets in [code] [/code] tags.Leave a comment:
-
How to Detect the Currently Opened Files in VB.net for Media Centre
Hi Guys,
I am writing a Media Centre Addin in Vb.net and it was all going good until i got to the point where i want to find the "Currently Playing song FilePath or URl"
I have spend a number of hours racking my brain to figure out a way of seeing what the "Currently Opened Files" are on a machine at any point of time.
My idea is to get all the currently opened files, and then filter...
No activity results to display
Show More
Leave a comment: