There should be no problem with that line of code.
Maybe a typo in the foldername or the name of the .wav file on the device?
Are the .wav files conected to the media player on the device?
That should'nt make any difference. You probably just spelled the file path wrong, or the file is corrupt. Either way you should still hear a "beep" noise. If nothing works you can launch WMP with the file path as a parameter
That's one solution but I think it is better to use the file connection so the individual preferred sound player is opened instead of a special application.
Sorry Specci but he's correct on that one. The "Sound" keyword calls the Windows API "PlaySound" function on both desktop and device and that has nothing to do with file associations as they only map a file type to a default application. In this case no application is concerned in playing the file, the OS does it itself.
You are however correct in that the device seems to have no default sound, that only seems to be implemented on the desktop.
I have tried different versions, compiled, on device (htc Touch HD) and desktop (XP).
Sound(AppPAth&"\Sound.wav")
Sound("Sound.wav")
Sound(AppPAth&"\Sounds\Sound.wav")
Sound("\Sounds\Sound.wav") device only