Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Problem with MSComm

Hi
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)
[1008 byte] By [newkeep] at [2007-11-11 8:49:40]
# 1 Re: Problem with MSComm
if there is an another control to do this job please let me know
newkeep at 2007-11-11 17:24:54 >
# 2 Re: Problem with MSComm
I Googled for "mscomm terminal program" and found this: http://support.microsoft.com/default.aspx?scid=KB;EN-US;q262883
Phil Weber at 2007-11-11 17:26:04 >
# 3 Re: Problem with MSComm
Thanks a lot for ur help,It is usefulls,But if u got in seprate form(forSIDEA,SIDEB)
please send it to me
thanks and thanks again for your help
THAT WAS REALLY WHAT I NEED
newkeep at 2007-11-11 17:27:03 >