| ||||||||||||||||||||||||||||||||
| Products . Sound Recorder ActiveX Control . Online Help | Sign In | ||||||||||||||||||||||||||||||
Sound Recorder ActiveX
System Requirements
Installation
Removing Sound Recorder ActiveX
Distribution of Sound Recorder ActiveXWhen distributing your application, you need to:
No other files and actions are needed. We would appreciate if you mention us in your "About" window (not required). LicenseSee license.txt for details. RegistrationUnregistered version of Sound Recorder Control allows to record only 10 minutes of a sound. You need to register the control in order to get rid of this restrinction. After registering, you will receive three numbers that you need to pass to the ActiveX control via Register() method. See below more information. Creating ActiveX Control
It's better way to drop Sound ActiveX Control on the form in design mode. Your IDE will do all needed job in order to support it. You can freely create more than one instance of Sound Recorder ActiveX, if you need to monitor and record sound from more than one sound card. Properties
long GainThis allows to adjust sound volume, per cent. For ezample,
BSTR FileName
BSTR CodecAudio codec name. This is read only value. Do not attempt to change it dirrectly. You need to call either ChooseCodec or Properties methods in order to select another audio codec. BSTR DeviceNameSound cars name, that control will use for recording. Empty string will advise the control to use default recording device. Wildcards VARIANT_BOOL PausedSet this value to long DurationDuration of the record, in seconds. This is read-only value. Do not attempt to alter it. SAFEARRAY(BSTR) DeviceListArray of strings that contains a full list of hardware devices available for recording in the given system. LASTERR LastError
Methods
VARIANT_BOOL Start()Starts sound volume monitoring. Starts recording if void Stop()Stops sound volume monitoring, releases all system resources, closes the file. VARIANT_BOOL ChooseCodec()Pops up a standard Windows' dialog box that allows to choose audio codec. Returns
VARIANT_BOOL Properties()Pops up a Sound Control ActiveX tuning window. Returns
VARIANT_BOOL Register(long Code1, long Code2, long Code3)This function unlocks program to fully registered version without any restrinctions. void AboutBox()Pops up About window with information about version, release date, and contact information about the control. Events
void OnAudioVolume(long AudioVolume)Container receives this event when sound card is opened.
void OnStarted(void)Container receives this event right after sound card was successfully opened. void OnStopped(void)Container receives this event right after sound card was closed.
| ||||||||||||||||||||||||||||||||
mobile version | Copyright © 1999-2025 SoftCab, Inc. All Rights Reserved · |