i want to kno how to play a wav sound in vb.net2003 i kno how to play it jus once this is the code i have:
[ wFlags = SND_LOOP
x = sndPlaySound("C:\WINDOWS\Media\chord.wav", wFlags)]

i was told tht SND_LOOP will play it simaltaniously but 4 sum reaason it dnt work..

i want to kno how to play a wav sound in vb.net2003 i kno how to play it jus once this is the code i have:
[ wFlags = SND_LOOP
x = sndPlaySound("C:\WINDOWS\Media\chord.wav", wFlags)]

i was told tht SND_LOOP will play it simaltaniously but 4 sum reaason it dnt work..

Did u try assigning a value for the SND_LOOP..

For ex:

Const SND_LOOP = &H8 'loop the sound until next sndPlaySound

:cool: