How to receive incoming calls using mscomm control
Posted on 2002-07-10
I'm using MSCOMM control for my dialer program.
the following is my vb settings:-
MSComm1.CommPort = 3
MSComm1.Settings = "9600,N,8,1"
MSComm1.InputLen = 0
MSComm1.RTSEnable = True 'must
MSComm1.PortOpen = True
this one is a call
MSComm1.Output = "ATDT" + Trim(Text1.Text) + Chr$(13)
and this is on my timer
If MSComm1.InBufferCount Then
at this stage, i can call any phone number and also can send & receive msg to & from other party.
but when other party call my program, i don't know how to pickup or receive the call. for a start can somebody show how to pop up a message when there is a incoming calls.