Problem with MSComm
I want to know how can i connect modem to modem by VB.
My modem is normal and support this job(Tested by HyperTerminal) I dont know how to do it only thing that I know is , Mscomm control. I Can get when the modem is ringing but i dont know how to connect(Make Computer to Wait For A call like hyperTerminal) .This is code for receive a ring from target computer
---
Private Sub MSComm1_OnComm()
Dim receivecall As Variant
If Me.MSComm1.InBufferCount > 0 Then
receivecall = Me.MSComm1.Input
MsgBox receivecall
End If
End Sub
----
when the targer computer call i recieve a message "RING" but i dont know how to attach connection
In Hypertermnal i just press "Wait For A Call" and when the target computer
have called, after two rings the modem get connected and attached the connection that i can chat or send file via MODEM
Please Send Me HOW CAN I DO IT????? :confused: In Both Side (SideA My Computer SideB TargetComputer)

