Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multimedia Control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00515006
Message ID:
00516752
Views:
11
Yes I do!
In the Load of a Form you do this:
with thisform
   .MMControl1.Notify = .f.
   .MMControl1.Wait = .t.
   .MMControl1.Shareable = .f.
   .MMControl1.DeviceType = "WaveAudio"
   .MMControl1.FileName = "c:\suncsc\forms\test1.WAV"

   * Open the MCI WaveAudio device.
   .MMControl1.Command = "Open"
endwith
To save the recording:
with thisform
   .MMControl1.Notify = .f.
   .MMControl1.Wait = .f.

   * Saven the MCI WaveAudio device file.
   .MMControl1.Command = "save"
endwith
IN the unload you do:
with thisform
   .MMControl1.Notify = .f.
   .MMControl1.Wait = .f.

   * Close the MCI WaveAudio device.
   .MMControl1.Command = "close"
endwith


>Does anyone have example code for recording/playback of .wav files via the Microsoft Multimedia Control V6?
>
>I'd like to automate the process entirely, i.e. there would be no need for the user to even see the recording/playback console.
>
>Regards
Previous
Reply
Map
View

Click here to load this message in the networking platform