Login Page - Create Account

Support Board


Date/Time: Tue, 24 Dec 2024 13:21:05 +0000



Post From: retrieving string file name from settings to be played in playfile

[2015-10-24 06:34:20]
KhaosTrader - Posts: 128
Ok,

I tried an alternate method, is this a correct way to achieve this?



      SCString Buffer;
    

    
      Buffer = "c:\\!TradeAlert_Sounds\\";
      Buffer += EntryAlert_RootFileName.GetString();
      Buffer += "_Short.wav";

      sc.PlaySound(Buffer.GetChars(), 1);


Date Time Of Last Edit: 2015-10-24 06:48:57