Yes, well I'm sorry. The PlaySound-statement should be
Code:
PlaySound f$, 0, SND_SYNC
where the call won't return until the file is played to the end.
Code:
PlaySound f$, 0, SND_ASYNC OR SND_NOSTOP
will play the file in background, without stopping the previously startet PlaySound.
I know this is not quite yet what you want, but try this out and tell if you got any sound playing, then we continue and look for something to determine the end of playing and start playing the next song in the list.
This looks interesting, David, but overlooking the code, it will refuse to play .wma files. It only accepts .mp3 for audio.
I shall get me a .wma and try if it will be played, too.
thaks for all the help it was much apreciated.
i have know got the program working an i am so pleased but i couldent have done it without all of you once again thank you
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.