Click here to Skip to main content
15,917,455 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in c# how to push song by using System.media namespace
Posted
Comments
Christian Graus 17-Aug-10 22:26pm    
What have you tried ? What do you mean by 'push' ?
Toli Cuturicu 18-Aug-10 6:57am    
There is no such namespace: "System.media"!
Do you mean "System.Media"?

Do you mean "play"?

There is a play method available - see here[^].
 
Share this answer
 
System.Media.SoundPlayer sp = new System.Media.SoundPlayer(newfile);<br />
          sp.Play();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900