by Servando Buonpensiere (2 Submissions)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 30th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Play a Wav or Midi file.
API Declarations
Declare Function mciExecute Lib "winmm.dll" (ByVal lpstrcommand As String) As Long
iresult = mciExecute("play C:\WINDOWS\MEDIA\Notify.wav")
End Sub