473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to receive the name of song sounding in a WMP using C#?

How to receive the name of song, sounding in real time in a Windows Media
Player 10?
I tried to use Marshal.GetActiveObject("MediaPlayer.MediaPlayer") , but win
Windows Media Player it don't work.
I have received the Title of an open window of WMP 10, using
Win32.FindWindow() and then Win32.GetWindowText(), but Title of WMP don't
contain a name of current song, only this text: "Windows Media Player".
Thanks.
ps. I am sorry for bad knowledge of English language.
Nov 16 '05 #1
1 1617
Hi Meddle:

Try using the following wrapper:

Remotable WMP Player Wrapper for C#
http://www.gotdotnet.com/Community/U...6-49006903e483

This allows you to manipulate and access an out of process media
player instance.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 26 Oct 2004 12:47:01 -0700, Meddle
<Me****@discussions.microsoft.com> wrote:
How to receive the name of song, sounding in real time in a Windows Media
Player 10?
I tried to use Marshal.GetActiveObject("MediaPlayer.MediaPlayer") , but win
Windows Media Player it don't work.
I have received the Title of an open window of WMP 10, using
Win32.FindWindow() and then Win32.GetWindowText(), but Title of WMP don't
contain a name of current song, only this text: "Windows Media Player".
Thanks.
ps. I am sorry for bad knowledge of English language.


--
Scott
http://www.OdeToCode.com/
Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robert Song | last post by:
Hi all, How can get the primary key string from the given table name? i know it should from system tables of "sysobjects, syscolumns, and sysconstraints", but when i execute the statement like...
2
by: Richard A. Wells | last post by:
All I wanted to do was implement a web service where I'd receive an XML document and return one in response. I'd already figured out how to use XmlReader and XmlWriter classes to do the XML work I...
1
by: Dan Kelley | last post by:
I have 2 projects - 1 Winform project that sends Udp messages using the UdpClient class when a button is clicked, and a Console application that listens for these Udp messages. If I try to use...
6
by: cthoes | last post by:
following program does the display of student details but i want to search for the particular student name from the added list of student. so it would be great any one can help me without using...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.