Or use the mciSendString API.
VB Code:
'Open the midi mciSendString "open C:\MyFile.mid type sequencer alias midi", 0, 0, 0 'Play the midi mciSendString "play midi", 0, 0, 0 'Stop the midi mciSendString "stop midi", 0,0,0 'Close the midi mciSendString "close midi", 0, 0, 0




Reply With Quote