VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Two ways of playing Wav or Midi.

nofx  (8 Submissions)   Sound/MP3   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Wed 31st March 1999   Mon 8th February 2021

Two ways of playing Wav or Midi.

API Declarations


' CaptiveX TM. '
' Writen by nofx (op-ivy) '
'http://www.sharpnet.net/~nofx/'
'or visit us on EFNET #captivex'
' P.S. '
' Have Fun '

#If Win32 Then
Public Const SND_ASYNC& = &H1
Public Const SND_SYNC& = &H0
#Else
Public Const SND_ASYNC% = &H1
Public Const SND_SYNC% = &H0
#End If

#If Win32 Then
Public Declare Function sndPlaySound& Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long)
Public Declare Function mciExecute& Lib "winmm.dll" (ByVal lpstrCommand As String)
#Else
Public Declare Function sndPlaySound% Lib "mmsystem.dll" (ByVal lpszSoundName As String, ByVal uFlags As Integer)
Public Declare Function mciExecute% Lib "mmsystem.dll" (ByVal lpstrCommand As String)
#End If

Rate Two ways of playing Wav or Midi. (2(2 Vote))
Two ways of playing Wav or Midi..bas

Two ways of playing Wav or Midi. Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters