# Re: 如何用VB控制Modem

Posted by Robert Shyu on June 16, 1998 at 20:36:10:

In Reply to: 如何用VB控制Modem posted by Robert Shyu on June 09, 1998 at 20:58:52:

: 请教高手 !
:
: 如何用vb6.0 专业版控制Modem 自动怎侦测有外线进来 ?
: 若有答案请E-Mail 至challeng@ms13.hinet.net

: THANKS .........

use the AT commant

Dim Buffer as variant

buffer =Mscomm1.Input
If StrConv(Buffer, vbUnicode) = "RING" Then
Mscomm1.Output="ATA" & VbCrL
End If

Follow Ups: