# Re: VB For RS232--下AT command 会跳出程式

Posted by dar on April 08, 1999 at 16:37:10:

In Reply to: VB For RS232--下AT command 会跳出程式 posted by Gordon.Liu on April 08, 1999 at 16:22:28:

: 为何下AT Command 会跳出程式
: Dim instring As String
: MSComm2.OutBufferCount = 0
: MSComm2.InBufferCount = 0
: MSComm1.OutBufferCount = 0
: MSComm1.InBufferCount = 0
: MSComm2.Output = "ATS0=1W2" + Chr(13)---跳出
: Why???

你是否少了 mscomm2.portopen=true ?

Follow Ups: