MCI Sampler

Posted On 2017-08-06 by BlackBeltVB
Tags: VB6 Sound VB6 Miscellaneous VB6 Windows API 
Views: 70

Title Uploaded Size
MCISAMP.ZIP 8/6/2017 6:51:30 AM 8,138

How to use various multimedia API functions. Play a WAV/AVI/MIDI/CD, record a WAV, capture an AVI frame, change various volumes. 

Special Instructions

Uses the following API function:

  • auxGetVolume
  • BitBlt
  • keybd_event
  • mciGetDeviceID
  • mciSendString
    • close open play record
    • save set status stop
  • midiOutGetVolume
  • midiOutSetVolume
  • sndPlaySound
  • waveOutGetVolume
  • waveOutSetVolume


This code originally appeared on, and has been republished here with the permission of Matt Hart.

About the Author

BlackBeltVB has posted a total of 89 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links