by Mateus Bezerra Lima to see my projects and others codes, please, visit the Visual Basic Hp www.geocities.com/mateusbl_33 (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 30th January 2000
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
This is a simple code to play a wave file.
Dim filename as String
Dim rc as Long
filename = "C:\windows\media\tada.wav"
rc = sndPlaySound(filename, 1)
End Sub