Sound effect #csharp #howto #dotnet


klmacapagal@...
 

Hi, i am currently developing a system which uses a QRscanner and a camera is there a way to add a sound effect whenever i scan a qrcode or take a snapshot using the camera?

thankyou


Marc Gauthier
 

Hi,

If it's for Client Server application we used the following expression with an evaluate

CallDLL ('winmm.PlaySoundA','A48',Translate ('C:\path\Sound.wav'),131072)

The expression in a Program that is in Parallel Execution - This let the code continue while playing the sound...

HTH

Best regards,

Marc