Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beep Beep!

Status
Not open for further replies.

craigey

Technical User
Apr 18, 2002
510
0
0
GB
Is there any way to get an ASP page to make a beep using the system speaker? I know this is possible in VB, but don't know how to do it in VBscript.

Can you do it with Java/javascript or any other launguage that can be incoporated in an ASP page?

BTW the page is for offline use and I don't intend to annoy web-surfers by having their system Beep at them!

Thanks in advance for all your help!
 
craigey,

The good old HTML will come handy here:

<EMBED SRC=&quot;example.mid&quot; AUTOSTART=&quot;TRUE&quot; LOOP=&quot;TRUE&quot; WIDTH=&quot;145&quot; HEIGHT=&quot;60&quot; ALIGN=&quot;CENTER&quot;>
<NOEMBED>
<BGSOUND SRC=&quot;example.mid&quot; LOOP=&quot;10&quot;>
</NOEMBED>
</EMBED>

This code will play example.mid as a background music of your page. WAV files could be used here as well.

Shay
---------------
&quot;We'll never give up, it's no use&quot; (Blink 182)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top