Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SystemSounds.Beep.Play not making any sound

I am having trouble with System.SystemSounds.Beep.Play() not making any sound for a particular user. It seems to be working for everyone else (a fairly large user base with generally 24/7 use) but simply does not make any sound for a particular user.

What I would like to know is if this method has any particular idiosyncrasies that I should be aware of, particularly if they could cause this issue (but really even if they couldn't too)? Has anyone else run into something like this that might point to this being a non-programming issue?

Some extra info that might help: (or might be more confusing)

  • It does not appear to be a corrupt .NET install because it appears for a particular user across machines.
  • The user is using the same Active Directory profile for all these machines when they have the issue
  • Another user can log into the machine and use the exact same executables to get sound successfully
  • The particular location where the user is has Windows XP machines, though not all users do (some use Windows 7)
like image 597
BlargleMonster Avatar asked May 06 '13 15:05

BlargleMonster


2 Answers

You may want to check this link: http://www.howtogeek.com/howto/windows/turn-off-the-annoying-windows-xp-system-beeps/

make sure that the beep sound is not disabled for the user.

like image 200
brano Avatar answered Oct 30 '22 22:10

brano


Are the system beeps still on his computer? check C:\Windows\Media, because Beep.Play(); should work fine.

Some other possible problems just to be sure:

  • The speaker volume isn't at 0%?
  • The speakers are installed correctly?
like image 37
Max Avatar answered Oct 30 '22 23:10

Max