how access data from a com port using a modem

chsridharch

New member
Joined
Oct 20, 2005
Messages
2
Programming Experience
1-3
hi,
i'm using a gsm modem.by using mscomm control i'm able to send an sms and also i can dail through the application.but i'm not able to read the receiving messages in the port.i'm using the below code.

If MSComm1.PortOpen = False Then
MSComm1.PortOpen = True
'Dim sms As String
sms = "AT+CMGS=+919440042892;" & Chr$(13) & "Testing"
MSComm1.Output = sms + Chr$(26)
End If
by using this i can send an sms.
but i want to receive an sms also.
plz any one can give suggestion.....

bye.
 
Back
Top