isnt there a tutorial on vbworld on this? though it would continue oustide of a form unless you forced it to stop on lostfocus.

edit:> this works for MIDI. http://www.vbworld.com/graphics/tip55.html