you can use a sound manually. use this code in module name sound
Public Declare Function PlaySound Lib "winmm.dll" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long
use this in form
sound.PlaySound "C:\start.wav", 1, 1
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
You need to use PlaySound API
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
All the system sound (.wav files) are stored in some specific location in the system. For that you need to specify the path.
Else you can copy those files to your application path and specify APP.Path in your code.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
I think there is no way, without use path.........
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
In XP all system WAV files will be in C:\WINDOWS\Media path
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434