CPS613 |
VB .NET Techniques and References | |
MultiMedia |
Alternately you can try the
Media.SoundPlayer class.
If you get a "corrupted header" run-time error, try the following: assuming that your music is stored in the variable mymusic,
put the statement
mymusic.Stream.Position = 0before invoking the a play method. This will reset the player to the beginning of the piece.