Announcement

Collapse
No announcement yet.

Alert.playSound just beeps

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alert.playSound just beeps

    When this statement:
    Alert.playSound("C:\\Program Files\\eSignal\\Sounds\\Ringin.wav");
    executes, all I hear is a beep. I've tried various wav files with the same result.

    Anybody know why? How can I get the wav file to actually play?

  • #2
    If its just beeping, that means there's something wrong with your file reference.

    I use .wav files in that directory as well as winnt\media with no problems. The reference you posted looks okay to me. Did you actually paste that from the code or re-type it? Look closely at it in your code and be sure there isn't an extra space or missing \' or something misspelled...

    Comment


    • #3
      Thx for the quick reply,

      I am very sure that the spacing and "\\" are correct. I thought that might be the problem also, so I cut and pasted a statement from one of Alexis C. Montenegro
      posts. But the behavior persists.

      Comment


      • #4
        ebr,
        you were correct! I did have a typo.
        It's just that i have looked at it so many times, i guess my mind's eye is [not] helping me debug.

        Thanks for the prod to do it again.

        Comment


        • #5
          That's happened to anyone who's ever written code.

          Glad you found it.

          Comment

          Working...
          X