VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

VB3 - Play a WAV file in Visual Basic 3.0

Genozide  (1 Submission)   Sound/MP3   Visual Basic 3.0   Unknown Difficulty   Sun 3rd June 2001   Mon 8th February 2021

VB3 - Play a WAV file in Visual Basic 3.0

API Declarations


'was taken from Gen0zide.bas, which was written by Gen0zide.
'This is extremely useful to play a .Wav file in Visual Basic 3.0
'Paste the code below here into a new module.

Declare Function SndPlaySound Lib "MMSystem" (ByVal lpWavName$, ByVal Flags%) As Integer
Sub playwav (file)
SoundName$ = file
wFlags% = SND_ASYNC Or SND_NODEFAULT
x% = SndPlaySound(SoundName$, wFlags%)
End Sub



Rate VB3 - Play a WAV file in Visual Basic 3.0 (2(2 Vote))
VB3 - Play a WAV file in Visual Basic 3.0.bas

VB3 - Play a WAV file in Visual Basic 3.0 Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters