i am looking for a code which will enable me to control a modem and issue AT commands from the vb code so that i can answer to a voice call to the modem and in return send a welcome greeting, Please help me in solving this problem
Printable View
i am looking for a code which will enable me to control a modem and issue AT commands from the vb code so that i can answer to a voice call to the modem and in return send a welcome greeting, Please help me in solving this problem
The easiest way is using VB with the MsComm control. To detect a ring, use the 'OnComm' event and access the 'CommEvent' property to see if it matches 'comEvRing'. If it does, you can pick up the phone, using... MSComm1.Output "ATA" & vbCr.