|
|
|
re: Playsound Ap
Tuesday, December 19, 2006 at 4:48 am Windows 95 Annoyances Discussion Forum
Posted by Keith Stanier
(1000 messages posted)
This isn't a Windows problem really, its a programming problem. I would suggest searching
the web for a Lisp Forum.
Well I don't use Lisp I programme in Visual Basic. To play a sound in there we use.
Const SND_ASYNC = &H1
Const SND_NODEFAULT = &H2
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal
lpszSoundName As String, ByVal uFlags As Long) As Long
Private Sub Command1_Click() 'A button
Call sndPlaySound(App.Path & "\explode.wav", SND_ASYNC Or SND_NODEFAULT)
End Sub
App.Path is the current directory your exe is running from.
- Written in response to:
- Playsound Ap (Darrell Toland: Monday, December 18, 2006 at 10:25 am)
Responses to this message:
|
|
All messages in this thread [show all]
 |  | re: Playsound Ap (Keith Stanier: Tue, Dec 19, 2006, 4:48 am) |
| |
| |
Return to the Windows 95 Discussion Forum
|
|
|
|