How to Record Sound With Mmcontrol in Vb6

In VB6, there is an object called MMControl, or multimedia control, that performs many different multimedia options. The most obvious ones are to play and pause music, but you can also record sound using the MMControl unit. A USB device, such as a microphone, will be required to receive the sound, but there is no coding needed either for the recording function or the USB integration because all of this is automatically contained in the control.

Things You'll Need

  • USB microphone
Show More

Instructions

    • 1

      Launch VB6 (from "Programs" in the "Start" menu). In the right toolbox, select "MMControl" and drag it into the coding panel.

    • 2

      Right-click "Command" in the right menu and choose "Record." This creates a "Record" button in your VB6 program.

    • 3

      Connect a USB device to your computer that can receive sound, then push "Record." VB6 will record the sound. When finished, press the record button again. This saves a WAV file on your desktop.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured