Communication with modem

Communication with modem SearchSearch
Author Message
Karma R.
Unregistered guest
Posted on Saturday, June 10, 2006 - 08:27 pm:   

Hi!
I am working with a multitech wireless modem (MTCBA-G-F2). I know that I can send AT commands using Hyperterminal, but I want to do it using Visual Basic. I have made tests, sending AT (using MScomm1.Output command), and waiting for an answer (OK) using a Timer:

Private Sub Timer1_Timer()
If MSComm1.InBufferCount <> 0 Then
dat=MSComm1.Input
End if
End Sub

But the buffer is always empty.

I appreciate your help