PDA

View Full Version : PlaySound Function



Edakad
11-06-2014, 03:18 AM
Hello

The PlaySound(FilePath As String) function

Suppose I have sound1.wav file at the default VErtexFX indtallation folder. Is it possible to call the function like PlaySound("sound1.wav") ?

Or is there a method to get the default sound folder path in code ?

Thanks

Hassan-HS
11-06-2014, 02:23 PM
Dear Edakad,

No you have to call it as following....


"C:\Program Files\HS Dev 10\sounds\sound1.wav"