English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what controls or methods i can use to add audio to my form

2006-07-25 13:36:01 · 2 answers · asked by reyhame 123 3 in Computers & Internet Programming & Design

2 answers

Use the MCI control. The Multimedia MCI control manages the recording and playback of multimedia files on Media Control Interface (MCI) devices. Conceptually, this control is a set of push buttons that issues MCI commands to devices such as audio boards, MIDI sequencers, CD-ROM drives, audio CD players, videodisc players, and videotape recorders and players. The MCI control also supports the playback of Video for Windows (*.avi) files.

Step-by-step guide to insert MIDI into your VB6 application.
http://vb-helper.com/howto_mci_midi.html

Lines of code below will play the indicated WAV file, and pause the execution of any following code until the sound has finished playing.

Set SoundFileName to "c:\audio\test.wav"
Get tbkMCl("open" && SoundFileName &&"alias waveFile", "")
Get tbkMCI("play waveFile wait", "")
MMControl.Command = "Open"
MMControl.Command = "Play"

2006-07-25 14:01:33 · answer #1 · answered by dranagar 5 · 0 0

circulate to start then spotlight application in entertainment is the Sound Recorder, you will could insert a microphone interior the record section interior the decrease back of your workstation, then communicate away,

2016-11-03 00:07:17 · answer #2 · answered by bulman 4 · 0 0

fedest.com, questions and answers