-
messing with phones
Let's consider the following code:
Private Sub Dial(Number$)
Dim DialString$
DialString$ = "ATDT" + Number$ + ";" + vbCr
MSComm1.CommPort = 3
MSComm1.Settings = "9600,N,8,1"
On Error Resume Next
MSComm1.PortOpen = True
If Err Then
MsgBox "COM3: not available. Change the CommPort property to another port."
Exit Sub
End If
' Flush the input buffer.
MSComm1.InBufferCount = 0
' Dial the number.
MSComm1.Output = DialString$
'..............
End Sub
The above Sub takes a number and dials it ....
I'm wondering if it's possible to record (or get) the keystrockes of the target phone when a specified number is pushed when the connection is established (on the target keypad 1,2 ...#,*) !?!?!?!?
I mean if this could be done using the "MSComm" by some added code?????
10x anyway!!!
-
Is it that hard?
I’m going desperate …
:(
-
trying to get your code to work but dont understand
MSComm1.Settings = "9600,N,8,1"
what does that do?
-
this code sets the control's port to communicate at 9600 baud with no parity checking, 8 data bits, and 1 stop bit.
C?
-
Whats on the other end of the phone? It all depends on what is on the other end. If you have a phone and someone presses a number, the Comm Port will not know what the DTMF tones are, you would need some other piece of hardware out there.
Jerel