Hi.
I would like to have a Beep Sound in my VL-WEB App if there is an error.
What is the best way to do that? Any examples?
/klaus
VL-WEB (V15) and a sound (Beep) when error
Re: VL-WEB (V15) and a sound (Beep) when error
Very simple.
1. place the Sound in your VL View
Define_Com Class(#PRIM_SOND) Name(#Sound1) Displayposition(3) Left(32) Parent(#COM_OWNER) Tabposition(3) Top(368) Visible(False)
2. Play the sound
#Sound1.FileName := 'error.wav'
#Sound1.Play
3. Make sure the Sounds are saved in the Lansa Production IFS Directory:
x_lansa\x_YourPartition\web\vl
1. place the Sound in your VL View
Define_Com Class(#PRIM_SOND) Name(#Sound1) Displayposition(3) Left(32) Parent(#COM_OWNER) Tabposition(3) Top(368) Visible(False)
2. Play the sound
#Sound1.FileName := 'error.wav'
#Sound1.Play
3. Make sure the Sounds are saved in the Lansa Production IFS Directory:
x_lansa\x_YourPartition\web\vl