Search the Community
Showing results for tags 'asp.net vb.net web'.
The search index is currently processing. Current results may not be complete.
Hello, I am trying to play a sound on the client side when the timer goes down to 0. It works on my local, but it isn't working when I place it on the server that I am running the website. Here is my code. Private Sub PlaySound() Dim strpath As String = Server.MapPath("mp3/Ship_Brass_Bell.wav") Dim sp_sm As SoundPlayer sp_sm = New SoundPlayer sp_sm.SoundLocation = strpath sp_sm.Play() End Sub I don't have any reference on the web page itself. Please let me know where I am going wrong with this. Thanks for your help in advance, Eddi Rae