Hi Peter,
See HOWTO: Find Installed Modems with Visual FoxPro - MSKB#
Q291535 . This shows a technique that you can adapt for your use.
>Does someone knows how to send codes using MSCOMM like ati3,ati4, AT#CID=1
>to the modem and get the answer for each code from the modem ?
>
>Would like to see some simple code how to cath the return from modem,
>where could I find it ?
>
>Thanks in Advance
>
>
>Peter