Hi,
I have an asp.net C# web site and in one of the pages I have a grid view that returns some results and fires a warning sound if the result = 0 (see below):
if (gvScnResults.Rows.Count == 0)
{
SoundPlayer PlaySound = new SoundPlayer("path_to_sound_file/Sounds/warning.wav");
PlaySound.Play();
}
The sound works great on local machine, but when it is on the remote web server, it will not play. I presume it is required to play in the client's browser / machine and despite many hours of looking and testing I'm coming up short!
Any pointers gratefully received.
Thanks.
I have an asp.net C# web site and in one of the pages I have a grid view that returns some results and fires a warning sound if the result = 0 (see below):
if (gvScnResults.Rows.Count == 0)
{
SoundPlayer PlaySound = new SoundPlayer("path_to_sound_file/Sounds/warning.wav");
PlaySound.Play();
}
The sound works great on local machine, but when it is on the remote web server, it will not play. I presume it is required to play in the client's browser / machine and despite many hours of looking and testing I'm coming up short!
Any pointers gratefully received.
Thanks.