rplcmint
Nov 1st, 2001, 06:17 PM
Hello,
I'm having a problem issueing a simple AT command to a modem.
I'm using a MsComm control to open the modem port, so it will look like this:
With MsComm1
.portopen = true
.output "ATZ" 'Which should reset the modem quickly.
.portopen = false 'Drop the connection
end with
When I go check for the connection on Hyperlink..the modem did not receive my command.
Am I suppose to wait for an event to tell me that my command was successful? How do I do that.
I was also thinking that I am issueing the command wrong (probably should write it like this:)
MsComm1.output "ATZ" & vbCrLf
I need help cause this project is important.
I appreciate your input.
:D :rolleyes:
I'm having a problem issueing a simple AT command to a modem.
I'm using a MsComm control to open the modem port, so it will look like this:
With MsComm1
.portopen = true
.output "ATZ" 'Which should reset the modem quickly.
.portopen = false 'Drop the connection
end with
When I go check for the connection on Hyperlink..the modem did not receive my command.
Am I suppose to wait for an event to tell me that my command was successful? How do I do that.
I was also thinking that I am issueing the command wrong (probably should write it like this:)
MsComm1.output "ATZ" & vbCrLf
I need help cause this project is important.
I appreciate your input.
:D :rolleyes: