| ||||||||||||
| Products . Sound Converter ActiveX Control | Sign In | ||||||||||
Sound Converter ActiveX
System Requirements
Installation
Removing Sound Converter ActiveX
Distribution of Sound Converter 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 file included in the package. RegistrationUnregistered version of Sound Converter ActiveX stops functioning in 10 minutes after control was created in memory. 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
Creating ActiveX Control
It's better way to drop Sound Converter ActiveX 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 Converter ActiveX. Properties
BSTR SourceFileFull path to source WAV file. File must exist and be available for reading. BSTR DestinationFileFull path to destination WAV file. BSTR CodecName
Audio codec name. This is read-only value, do not attempt to change it directly. Use one of the following methods instead:
LASTERR LastErrorLast error occured during latest method call. It is one of
Methods
VARIANT_BOOL Start()Starts sound conversion process. Function returns
void Stop()Breaks conversion and releases all system resources used by converter. VARIANT_BOOL ChooseCodec()Pops up standard Windows dialog box that allows to choose audio codec. Returns TRUE if user pushed OK button on the dialog box. VARIANT_BOOL LoadFormat(BSTR FileName)Loads codec format from external file. VARIANT_BOOL BrowseFormat()Pops up a file selection dialog box, and then loads codec format from external file. VARIANT_BOOL SaveFormat(BSTR FileName)Saves current file format to a file. VARIANT_BOOL SaveFormatAs()Pops up "Save As" dialog box, and saves current format into selected file. VARIANT_BOOL SetPCM(long SampleRate, long NumBits, long NumChannels)Specifies that the destination file format should be PCM. VARIANT_BOOL SuggestPCM()Sometimes direct conversion between two formats is not possible. You need to use three-step converstion (source -> PCM1 -> PCM2 -> destination). This methods suggests PCM1 format. VARIANT_BOOL Properties()Pops up a Sound Converter 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 OnBegin()Container will receive it right after successful call to
void OnEnd()Container will receive it either right after successful call to
void OnProgress(long PerCent)Container will receive it periodically in order to learn about conversion process.
| ||||||||||||
mobile version | Copyright © 1999-2025 SoftCab, Inc. All Rights Reserved · |