Sorry im being a pest with all these topics! I have started adding some very basic .wav sounds to my game. To do this i am using a module containing
Option Explicit Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long Global Const SND_ASYNC = &H1
and then to play the sounds i use the code
rc = sndPlaySound(App.Path & "\Boss Theme.wav", SND_ASYNC) (boss theme being the name of the sound file)
My problem is that the sound plays fine and i can stop it when i want by playing the victory sound but if the player is still fighting the boss and the sound runs out it stops and i dont know how to loop the sound until the boss dies. Has anyone any ideas???