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 Nicholewatkinsi, Today, 10:53 PM
              0 responses
              6 views
              0 likes
              Last Post Nicholewatkinsi  
              Started by dward123, 01-02-2024, 09:59 PM
              4 responses
              175 views
              0 likes
              Last Post Lancer
              by Lancer
               
              Started by ETFVoyageur, Today, 04:00 PM
              2 responses
              19 views
              0 likes
              Last Post ETFVoyageur  
              Started by AaronKTradingForum, Today, 03:44 PM
              1 response
              14 views
              0 likes
              Last Post AaronKTradingForum  
              Started by Felix Reichert, 04-26-2024, 02:12 PM
              11 responses
              80 views
              0 likes
              Last Post Felix Reichert  
              Working...
              X