Project: VB6Fax
Version: 3.0.0
Report Date: 08/06/2023 12:06:11
By: Yaron Goali (WISERBIT DOT COM) for Microncode.com
User Control: cFaxModem
Properties
ComBaudRate [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Long |
ComBaudRate [Get] - Public (Return Datatype: Long)
ComByteSize [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Byte |
ComByteSize [Get] - Public (Return Datatype: Byte)
ComInitString [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
String |
ComInitString [Get] - Public (Return Datatype: String)
ComParity [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumParity |
ComParity [Get] - Public (Return Datatype: enumParity)
ComPort [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
String |
ComPort [Get] - Public (Return Datatype: String)
ComStopBits [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumStopBits |
ComStopBits [Get] - Public (Return Datatype: enumStopBits)
ComVoiceAnswer [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
ComVoiceAnswer [Get] - Public (Return Datatype: Boolean)
ComVoiceAnswerTimeOut [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Integer |
ComVoiceAnswerTimeOut [Get] - Public (Return Datatype: Integer)
FaxClass [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumFaxClass |
FaxClass [Get] - Public (Return Datatype: enumFaxClass)
FaxCSID [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
String |
FaxCSID [Get] - Public (Return Datatype: String)
FaxPulseDialing [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FaxPulseDialing [Get] - Public (Return Datatype: Boolean)
FaxReceiveBaud [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumBaud |
FaxReceiveBaud [Get] - Public (Return Datatype: enumBaud)
FaxReceiveEncoding [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumEncoding |
FaxReceiveEncoding [Get] - Public (Return Datatype: enumEncoding)
FaxSendBaud [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumBaud |
FaxSendBaud [Get] - Public (Return Datatype: enumBaud)
FaxSendECM [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FaxSendECM [Get] - Public (Return Datatype: Boolean)
FaxSendEncoding [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumEncoding |
FaxSendEncoding [Get] - Public (Return Datatype: enumEncoding)
FaxSendFine [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FaxSendFine [Get] - Public (Return Datatype: Boolean)
FaxSendUnlimited [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FaxSendUnlimited [Get] - Public (Return Datatype: Boolean)
FlowControlCTS [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FlowControlCTS [Get] - Public (Return Datatype: Boolean)
FlowControlDSR [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FlowControlDSR [Get] - Public (Return Datatype: Boolean)
FlowControlSOFT [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Boolean |
FlowControlSOFT [Get] - Public (Return Datatype: Boolean)
LineIndex [Let] - Public
Description: Set the line index
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
LineIndex |
Long |
LineIndex [Get] - Public (Return Datatype: Long)
Description: Get the line index
PhoneNumber [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
String |
PhoneNumber [Get] - Public (Return Datatype: String)
RingsBeforeAnswering [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Integer |
RingsBeforeAnswering [Get] - Public (Return Datatype: Integer)
SendCopies [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
Integer |
SendCopies [Get] - Public (Return Datatype: Integer)
SpeakerMode [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumSpeakerMode |
SpeakerMode [Get] - Public (Return Datatype: enumSpeakerMode)
SpeakerVol [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
enumSpeakerVol |
SpeakerVol [Get] - Public (Return Datatype: enumSpeakerVol)
TiffFileReceive [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
String |
TiffFileReceive [Get] - Public (Return Datatype: String)
TiffFileSend [Let] - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Val |
String |
TiffFileSend [Get] - Public (Return Datatype: String)
Functions
CancelFax - Public (Return Datatype: Long)
Description: Cancel the current fax operation.
Return: 0 if success or a number that describe the error.
ComDetection - Public (Return Datatype: Long)
Description: Detect the modem device and get the results to the FaxDetectionFinished event.
Return: 0 if success or a number that describe the error.
DeInit - Public (Return Datatype: Long)
Description: DeInit the control, must be call before closing the program.
Return: 0 if success, otherwise a number describe the error.
GetCityCode - Public (Return Datatype: String)
Description: Get the local city code
Return: String with the city code
GetCountryCode - Public (Return Datatype: String)
Description: Get the local country code
Return: String with the country code
GetPortNumber - Public (Return Datatype: Integer)
Description: Return the port number of a specific modem device by the device index.
Return: The port number if success, of -1 if an error apears.
Optional | ByVal/ByRef | Variable | Datatype |
|
|
lDeviceIndex |
Long |
Init - Public (Return Datatype: Long)
Description: Init the control, must be call before using any functionality of the control.
Return: 0 if success, otherwise a number describe the error.
Optional | ByVal/ByRef | Variable | Datatype |
Optional |
ByVal |
sKey |
String |
LineConfigDialog - Public (Return Datatype: Long)
Description: The lineConfigDialog function causes the provider of the specified line device to display a dialog box (attached to hwndOwner of the application) to allow the user to configure parameters related to the line device.
Return: Zero if success, or an error number describe the error
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
LineIndex |
String |
LineGetDevDetails - Public (Return Datatype: Long)
Description: Get general information about the device to the DeviceType type
Return: Zero if success, or an error number describe the error
Optional | ByVal/ByRef | Variable | Datatype |
|
|
DeviceType |
LineDevCap |
LineGetDevDetailsProps - Public (Return Datatype: Long)
Description: Get general information about the device capibility by pointers.
Return: Boolean value.
Optional | ByVal/ByRef | Variable | Datatype |
|
|
DeviceName |
String |
|
|
MaxRate |
Long |
|
|
Voice |
Boolean |
|
|
MonitorDigits |
Boolean |
|
|
GenerateDigits |
Boolean |
LineGetDevDetailsTypes - Public (Return Datatype: Long)
Description: Get general information about the device capibility by pointers.
Return: Boolean value.
Optional | ByVal/ByRef | Variable | Datatype |
|
|
MediaUnknown |
Boolean |
|
|
MediaInteractivevoice |
Boolean |
|
|
MediaAutomatedvoice |
Boolean |
|
|
MediaDatamodem |
Boolean |
|
|
MediaG3fax |
Boolean |
|
|
TapiCapability |
Boolean |
LineTranslateDialog - Public (Return Datatype: String)
Description: The lineTranslateDialog function displays an application-modal dialog box that allows the user to change the current location of a phone number about to be dialed, adjust location and calling card parameters, and see the effect.
Return: a string with the results
NumOfLines - Public (Return Datatype: Long)
Description: Get the number of lines in the system, use this function after initialize the line
Return: The number of lines in the system
ReceiveFax - Public (Return Datatype: Long)
Description: Receive fax, from now on, the program will wait to the fax.
Return: 0 if success or a number that describe the error.
SendFax - Public (Return Datatype: Long)
Description: Send fax.
Return: 0 if success or a number that describe the error.
Event Declares
Error - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
|
lErrNumber |
Long |
|
|
sErrMessage |
String |
FaxCallerID - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
CallerID |
String |
FaxDetectionFinished - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Classes |
String |
|
ByVal |
Manufacturer |
String |
|
ByVal |
Model |
String |
|
ByVal |
ProductCode |
String |
|
ByVal |
IDCode |
String |
|
ByVal |
Class2Capability |
String |
|
ByVal |
Class20Capability |
String |
|
ByVal |
VoiceCapability |
String |
FaxError - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
ErrorMessage |
String |
FaxGotRemoteID - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
ReceivedID |
String |
FaxInfo - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Message |
String |
FaxPageData - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Percent |
Long |
FaxProcMessage - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
sMsg |
String |
FaxReceiveDCS - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
BitRate |
Long |
|
ByVal |
PageWidth |
Long |
|
ByVal |
PageLength |
String |
|
ByVal |
VertRes |
String |
|
ByVal |
DataFormat |
String |
|
ByVal |
ECM |
String |
|
ByVal |
ScanTime |
Long |
FaxReceiveDIS - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
BitRate |
Long |
|
ByVal |
PageWidth |
Long |
|
ByVal |
PageLength |
String |
|
ByVal |
VertRes |
String |
|
ByVal |
DataFormat |
String |
|
ByVal |
ECM |
String |
|
ByVal |
ScanTime |
Long |
FaxSentDCS - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
BitRate |
Long |
|
ByVal |
PageWidth |
Long |
|
ByVal |
PageLength |
String |
|
ByVal |
VertRes |
String |
|
ByVal |
DataFormat |
String |
|
ByVal |
ECM |
String |
|
ByVal |
ScanTime |
Long |
FaxSentDIS - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
BitRate |
Long |
|
ByVal |
PageWidth |
Long |
|
ByVal |
PageLength |
String |
|
ByVal |
VertRes |
String |
|
ByVal |
DataFormat |
String |
|
ByVal |
ECM |
String |
|
ByVal |
ScanTime |
Long |
FaxStartPage - Public
Optional | ByVal/ByRef | Variable | Datatype |
|
ByVal |
Page |
Long |
|
ByVal |
Baud |
Long |
FaxStartTraining - Public