473,320 Members | 2,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Playing a sound when a field is updated

I have a request from a client to play a sound when a specific <input
type=text> field has been updated with new data from a server side script.
They have not specified the sound ( yet ), so I'm thinking of using one of
the standard MS .wav files. I know someone will respond that some user will
be running unix/linux or mac's, but that is not the case here. This is an
intranet application, and the client has standardized on i.e 6.0+ on windows
based machines. So cross browser compatibility is not an issue.

Anyone have any ideas?

Thank you,

Mike Minor
Z-Code Systems, Inc.
Jul 23 '05 #1
2 1509
Hello,

You might find this useful:

http://www.js-x.com/javascript/?view=885

--
Elias
"Mike Minor" <mm*******@earthlink.net> wrote in message
news:FW*****************@newsread2.news.atl.earthl ink.net...
I have a request from a client to play a sound when a specific <input
type=text> field has been updated with new data from a server side script.
They have not specified the sound ( yet ), so I'm thinking of using one of
the standard MS .wav files. I know someone will respond that some user
will
be running unix/linux or mac's, but that is not the case here. This is an
intranet application, and the client has standardized on i.e 6.0+ on
windows
based machines. So cross browser compatibility is not an issue.

Anyone have any ideas?

Thank you,

Mike Minor
Z-Code Systems, Inc.

Jul 23 '05 #2
VK
> This is an
intranet application, and the client has standardized on i.e 6.0+ on windows based machines. So cross browser compatibility is not an issue.


In this case why wouldn't use the old good <bgsound> tag (with the source
wav on the server)? As I understand, nobody sits on 14/28 dial-up here, so
40-80 Kb of extra download is not an issue.

Standard security model will not allow you to access local drive so easy, so
you have to either make an HTA page (with potentially confusing to the end
user permission requests), or adjust security settings on each intranet
client.

<bgsound> seems much more straightforward here
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Brian Basquille | last post by:
Hello all, What is the syntax for simply playing a WAV file in your program? Am learning VB and have two VB books but don't wanna root through them to find the code. Any help would be much...
1
by: Kiteman \(Canada\) | last post by:
Instead of a beep sound playing as an alarm or reminder I would like to be able to play a more interesting sound. On the web, I found and tried a sound routine that uses the SOUND.DRV but it does...
1
by: Peter Schmitz | last post by:
Hi, I'm just trying to play a *.wav file, making use of the unmanaged function "sndPlaySoundA" in winmm.dll, but I still got one question: How can I avoid, that the sound file itself has to be...
7
by: Lee Moody | last post by:
I just want quick and easy way to play a .wav file out the standard sound device. It could even be as simple as activating a sound assigned to an existing windows sound event. Any suggestions?...
4
by: fAnSKyer/C# newbie | last post by:
I am using winmm.dll and I found that I can't just suspend it and resume it? What should I do? Any better idea? Should I use thread? and thread.suspend will work? Thanks
6
by: =?Utf-8?B?VmVybm9uIFBlcHBlcnM=?= | last post by:
I have an application that is designed for using with a bar code scanner. I want the user to know that the scan was complete and the data was entered, so I am playing a system sound after data...
4
by: gazza67 | last post by:
Hi, Does anyone know how to check for when a sound has finished playing? I am currently using the SoundPlayer, there doesnt seem to be any event for this - am I missing something? Gary
5
by: gazza67 | last post by:
Hi, Does anyone know how to check for when a sound has finished playing? I am currently using the SoundPlayer, there doesnt seem to be any event for this - am I missing something? Gary
3
by: Jack | last post by:
Hi, I'm writing a simple wav player (like winamp) and using the SoundPlayer class in c# 2005. Using winform buttons, I can begin playing the sound and stop half-way through the sound using:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.