I'm building a VB app that communicates with a noise station though a modem line. So far i've been able to establish a connection with the remote modem. I send the command MSComm1.Output = "ATDT96477599" & vbCrLf to establish the communication and get "CONNECT 300" as a response. Then I need to login the noise station, so I send my password like this MSComm1.Output = "password" & vbCrLf. I get a stange response that consist on an unreadable string. Then after, if I try to send another command I get the response "NO CARRIER". I don't know what it means. Any help would be much appreciated.


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It probably means that the modem on the other end hung up. Is the other side configured to hang up if the password is incorrect?
Also, since you seem to be receiving some rubbish back it may be that the phone line is very noisey, which may be causing the modem to hang up. This seems to be the case as your modem is negotiating a speed of only 300bps, or are you initializing the modem to that speed?
BTW, what is a noise station?
RufenAuthor Commented:
Thanks everyone for your reply. I finally solve the problem. I just had to set the maximum port speed property to 300 and it works fine. For your information, a noise station is a station that records sound data related (dba). It is mainly used in airport or in factory to monitor sound level. You can have a look at Brüel & Kjaer web site to learn more. (I don't mean to do any publicity).

PAQed, with points refunded (125)

E-E Admin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Hardware-Other

From novice to tech pro — start learning today.