|
-
Nov 24th, 2000, 02:55 PM
#1
Thread Starter
Hyperactive Member
What's the best way to play a short wav-file (eg. for a step)? DX? MultimediaControl?
WP
-
Nov 24th, 2000, 03:41 PM
#2
Fanatic Member
-
Nov 28th, 2000, 12:01 AM
#3
Hyperactive Member
sndPlaySound
option explicit
Private Declare Function sndPlaySound _
Lib "winmm.dll" Alias "sndPlaySoundA" ( _
ByVal lpszSoundName As String, _
ByVal uFlags As Long _
) As Long
Private Sub Form_Load()
sndPlaySound("C:\WINDOWS\MEDIA\start.wav", &H1)
End Sub
This should do the trick.
Visual Basic 6.0 Enterprise
Visual C++ 6.0 Professional
Wak 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|