Well, I personally use the DirectX AudioVideo Playback for playing MIDI file... http://iceplug.vwebservices.com/cndavp.htm
And handle the Ending event to start playing the file again.
But, you could also use the Windows Media Player on your form, although I haven't actually tried it yet in .NET.
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe