PlaySound in WL v5.4?
Author: wltrade
Creation Date: 8/22/2009 4:11 PM
profile picture

wltrade

#1
Hi:
I'm interested in using the PlaySound function in WL v5.4 and was wondeering if any documentation for it is available. My current code consists only of the following so far,

public string UpSound = "C:\\Documents and Settings\\All Users\\Application Data\\AOL\\Coach\\adpglobal\\Chimes.wav";

public string DownSound = "C:\\Windows\\Media\\ir_inter.wav";


Thanks.
profile picture

Aleksey

#2
CODE:
Please log in to see this code.
profile picture

Cone

#3
Also see the User Guide: Preferences > Sounds for an Example to incorporate sound into a stop/limit order Strategy so that you hear the sound only when the Alert changes price.
profile picture

wltrade

#4
Hello:
Thank you, thank you, thank you!

I'm new to C programming and so am a bit lost. The code above (System.Media.SoundPlayer...) is working and I'll be looking into the User Guide documentation.
profile picture

Cone

#5
Sure thing, but to be sure, it's C#, not C (there's a difference).
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).