playing sound

Discussion in 'ASP.NET / ASP.NET Core' started by phoomum, May 15, 2009.

  1. Hi all, i'm attemping to use the .net object SoundPlayer to play a sound when a button is clicked, and it was working just fine when i ran the web page using visual studio, but the same configuration on my discountasp.net hosting package, and it acts like its trying to play, if i remove the sound file, it gives me a filenotfound error, but i get no sound out of my speakers, has anybody encountered this and know a workaround, or another method i can use to play wav,mp3, wma or whatever. the format doesn't matter as much as just being able to play the sounds. Thanks in advance.

    russ
     
  2. Do you have a link we can look at? Also if possible provide us a copy of your code for review.
     

Share This Page