Want to plya sound file on client with system
-
יום שני 20 אוגוסט 2012 17:53
I want to play wav files on client for that am using System.Diagnostics.Process.Start
I have searched and looked into eveyr forum but some says it not at all possible as it plays on the server while some says if i give log on rights it work . Am so Confused . I have tried everything but no avail .
pLESASE GIVE ME A SOLUTION AS TO HOW TO DO IT .
Please Tell me a way to open up sound fileS BUT IN DEFAULT MEDIA PLAYER (thats the issue) :(
כל התגובות
-
יום שני 20 אוגוסט 2012 18:22
How do you want this to be executed at Start Up? remotely by you?
Take a look at the commandline switches for MediaPlayer
http://msdn.microsoft.com/en-us/library/windows/desktop/dd562624%28v=vs.85%29.aspx
System.Diagnostics.Process.Start("wmplayer","c:\filename.wma");For a programmatic approche You can utilize the Media Player Class in .Net
http://msdn.microsoft.com/en-us/library/system.windows.media.mediaplayer%28v=vs.100%29.aspx
Mike
- נערך על-ידי mikem1983 יום שני 20 אוגוסט 2012 18:22
-
יום שני 20 אוגוסט 2012 18:23if its win form, this is what need. soundplayer
-
יום שני 20 אוגוסט 2012 18:25
system doesnt work on clint It work only on Server.
"I WANT TO PLAY WAV FILES ON CLIENT END :
-
יום שני 20 אוגוסט 2012 19:19need more details, its this win or web? what do you mean client and server? your codes?
-
יום רביעי 22 אוגוסט 2012 09:04מנחה דיון
As satuday said , we need more information to help you on this topic.
What do you mean about “system doesnt work on clint It work only on Server ” ? Do you want to play wav file remotely ?Have a look at this link : http://stackoverflow.com/questions/1497502/any-easy-ways-to-play-an-audio-file-on-a-remote-pc ,maybe it helps .
Regards ,
Lisa Zhu [MSFT]
MSDN Community Support | Feedback to us