VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Plays a WAV file the easiest way. Nine lines of easy code.

by SpudSoft (2 Submissions)
Category: Sound/MP3
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 21st November 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Plays a WAV file the easiest way. Nine lines of easy code.

API Declarations



Const SND_SYNC = &H0
Const SND_ASYNC = &H1
Const SND_NODEFAULT = &H2
Const SND_LOOP = &H8
Const SND_NOSTOP = &H10

Rate Plays a WAV file the easiest way. Nine lines of easy code.



wFlags% = SND_ASYNC Or SND_NODEFAULT
x% = sndPlaySound(SoundFile$, wFlags%)

Download this snippet    Add to My Saved Code

Plays a WAV file the easiest way. Nine lines of easy code. Comments

No comments have been posted about Plays a WAV file the easiest way. Nine lines of easy code.. Why not be the first to post a comment about Plays a WAV file the easiest way. Nine lines of easy code..

Post your comment

Subject:
Message:
0/1000 characters