Article ID: 171980 - View products that this article applies to.
This article was previously published under Q171980
This article has been archived. It is offered "as is" and will no longer be updated.
This article demonstrates how to play a MIDI (.MID) file from Visual Basic using the WIN 32 API call named mciSendString.
NOTE: You can use the MCI control to play a MIDI file; you don't need to use the APIs.
Microsoft Developer Network Library, Platform SDK, Reference, Multimedia Commands.
For additional information about playing MIDI files using API calls from Visual Basic 4.0, please see the following article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/141756/EN-US/ ): How To Play MIDI Files Using API Calls from Visual Basic
Article ID: 171980 - Last Review: February 28, 2014 - Revision: 3.1