Modem Master ActiveX
System Requirements
- windows 95/98/Me/2000/XP/Vista
- any hardware, connected to COM or LPT port.
Installation
- Extract files into permanent directory.
- Run install.bat to register ActiveX control.
Removing Modem Master ActiveX
- Run uninstall.bat to unregister ActiveX control.
- Remove the directory you created previously.
Distribution of Modem Master ActiveX
When distributing your application, you need to:
- copy Modem.ocx to your application installation directory.
- register it with install.bat command.
No other files and actions are needed. We would appreciate if you mention us in your "About" window (not required).License
Contact
http://www.softcab.com
support@softcab.comRegistration
Unregistered version of Modem Master ActiveX stops functioning in 30 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 Register() method. See below more information.Documentation
Creating ActiveX Control
It's better way to drop Modem Master 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 Modem Master ActiveX.Properties
BSTR PortName
Port name. For example, "COM2" or "LPT1".PORT_RATE BaudRate
Port baud rate.PORT_PARITY Parity
Port parity.STOP_BITS StopBits
Port stop bits.PORT_BYTE_SIZE ByteSize
Port byte size.long LastError
Last error occured during latest method call. See GetLastError() description in MSDN.Methods
VARIANT_BOOL Open()
Opens specified port. ReturnsTRUE
in case of success.void Close()
This will close previously opened port.BSTR Execute(BSTR ModemCommand)
Executes specifies command on a modem, and returns a reply. The command should be without CR or LF characted at the end. Returns empty string in case of error. SeeLastError
property for more information.BSTR Read()
Reads data from a port.long Write(BSTR Data)
Writes data to port.VARIANT_BOOL ClearCommBreak()
See ClearCommBreak() description in MSDN for more information.long ClearCommError()
See ClearCommError() description in MSDN for more information.VARIANT_BOOL EscapeCommFunction(long Func)
See EscapeCommFunction() description in MSDN for more information.long GetCommMask()
See GetCommMask() description in MSDN for more information.long GetCommModemStatus()
See GetCommModemStatus() description in MSDN for more information.VARIANT_BOOL PurgeComm(long)
See PurgeComm() description in MSDN for more information.VARIANT_BOOL SetCommBreak()
See SetCommBreak() description in MSDN for more information.VARIANT_BOOL SetupComm(long InQueue, long OutQueue)
See SetupComm() description in MSDN for more information.VARIANT_BOOL TransmitCommChar(char C)
See TransmitCommChar() description in MSDN for more information.VARIANT_BOOL Properties()
Pops up a Sound Control ActiveX tuning window. ReturnsTrue
if user pressed Ok button on the dialog box.VARIANT_BOOL Register(long Code1, long Code2, long Code3)
This function unlocks program to fully registered version without any restrinctions.Code1, Code2, Code2
are numbers you have got after filling in online order form. ReturnsTrue
if specified numbers are correct, and program is registered.void AboutBox()
Pops up About window with information about version, release date, and contact information about the control.
Copyright © SoftCab Inc, 1999-2007