Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 1106

System sounds don't play

$
0
0

Hi,

I have a program. When I'm testing it on my Windows 8 x64 pc all good. But when I use program on Windows Server 2012 through RDP this program don't play sounds. I use methods SystemSounds.Beep.Play() or SystemSounds.Asterisk.Play() in this program.

When I use

string file = @"c:\test1.wav";
var sound = new System.Media.SoundPlayer(file);
sound.Play();
instead of SystemSounds.Asterisk.Play() program plays sound normal through RDP. I need to play sounds using SystemSounds.Asterisk.Play().


Viewing all articles
Browse latest Browse all 1106

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>