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 GussJ, 03-04-2020, 03:11 PM
              11 responses
              3,221 views
              0 likes
              Last Post xiinteractive  
              Started by andrewtrades, Today, 04:57 PM
              1 response
              10 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Started by chbruno, Today, 04:10 PM
              0 responses
              6 views
              0 likes
              Last Post chbruno
              by chbruno
               
              Started by josh18955, 03-25-2023, 11:16 AM
              6 responses
              437 views
              0 likes
              Last Post Delerium  
              Started by FAQtrader, Today, 03:35 PM
              0 responses
              9 views
              0 likes
              Last Post FAQtrader  
              Working...
              X