How to Play MIDI Files Using API Calls from Visual Basic (141756)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q141756 SUMMARY
This article demonstrates how to play a MIDI (.MID) file from Visual Basic
using the WIN16 or WIN 32 API call named mciSendString. If you have the
Professional or Enterprise Editions of Visual Basic version 4.0, you can
use the MCI control to play a MIDI file. You don't need to use the APIs.
REFERENCES
More information about mciSendString() can be found in:
- The Multimedia Programmer's Reference on page 3-26.
- Command strings described on pages 7-23 to 7-93 and in the
WIN31MWH.HLP file shipped with the Windows 3.1 Software Development
Kit (SDK).
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | kbWndw KB141756 |
---|
|