VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Play a Wav or Midi file.

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

Rate Play a Wav or Midi file.



iresult = mciExecute("play C:\WINDOWS\MEDIA\Notify.wav")
End Sub


Download this snippet    Add to My Saved Code

Play a Wav or Midi file. Comments

No comments have been posted about Play a Wav or Midi file.. Why not be the first to post a comment about Play a Wav or Midi file..

Post your comment

Subject:
Message:
0/1000 characters