Lebougre, thanks for your good comments
i solved the problem already:
If (InStr(strResponse, "OK") > 0) Then ' Response should be OK
MSComm1.Output=" " &vbcrlf <-----HERE
WScript.Sleep(10000) ' Wait for response
strResponse2=MSComm1.Input
...
Regards
ultorjo
Main Topics
Browse All Topics





by: LebougrePosted on 2007-12-18 at 17:04:45ID: 20496894
Hi,
Try this. After the "OK" answer send the command "AT" otherwise the " ". See under...
...
If (InStr(strResponse, "OK") > 0) Then ' Response should be OK
MSComm1.Output="AT " <-----HERE
WScript.Sleep(10000) ' Wait for response
strResponse2=MSComm1.Input
...
I thing you will have the good answer.
Regards.
Lebougre.