Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

exception trapped trying to change audio alert NT7

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

    #16
    The first wave file(plays fine) but if I go to the dropdown box and just click the down arrow,,, error comes up, its just not looking for the sound file in the x86 path where my NT installed.. Maybe its that dropdown box structure thats hosed..

    I made a directory 'C:\Program Files\NinjaTrader 7\sounds and now the dropdown box does not fail! Workaround for now?
    Last edited by gg80108; 09-03-2010, 11:47 AM.

    Comment


      #17
      Ben, are you the author of that indicator? Trouble is the indicator code looks up "c:\Program Files\NinjaTrader 7\sounds" instead of "c:\Program Files (x86)\NinjaTrader 7\sounds" if NT is ran in 64bit mode.

      Comment


        #18
        Ok...thank you for that piece of info. I'll have a new ZIP sent to you shortly to rectify the problem.

        Thanks to everyone that's been involved!

        Comment


          #19
          I'm actually running the 32Bit NT7 but it installs in the x86 directory,, so 32 or 64 bit NT7 version doesn't make a difference...
          Think the 64 bit Win7 makes it install in the x86 dir..

          Comment


            #20
            If I wanted to let the users of my indicators specify their own path to the sound files via a parameter, could I do this? Assuming that the path is saved in a string called sAudioPath and the audio filename is saved in a string called sAudioFile..how would the PlaySound() method be constructed?
            PlaySound(@sAudioPath + sAudioFile)?

            Comment


              #21
              Hello Ben,

              This is not supported by NinjaTrader but one of our community members contributed an implementation of this here:
              Ryan M.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CaptainJack, 04-24-2026, 11:07 PM
              0 responses
              22 views
              0 likes
              Last Post CaptainJack  
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              121 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              176 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              92 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              135 views
              0 likes
              Last Post cmoran13  
              Working...
              X