Use the MCI API without Mulitmedia OCX

Category:
Multimedia/Games
Type:
Modules
Difficulty:
Intermediate
Author:
Phlip Bradbury

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
This module uses the MCI API to play music and sound without having to use the MCI control. It also allows several sounds to be played at once, while to do that with the control you need several of the controls on your form - a waste of resources.

Complete documentation on mci commands can be downloaded from http://au.geocities.com/phlipping/mci.zip - this was intended for C, but everything applies except the notify flag which cannot be used in VB without subclassing.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download mci.zip