467,881 Members | 1,210 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,881 developers. It's quick & easy.

VB-SMS Help

Hi Friends,

I need Help to Develope a VB based SMS Service application. Can any one Help me.

Discription
========

I want to develop one Visual Basic Base SMS application using Mscomm Componenet and "AT" command and I have a GSM Modem for this task to handle SMS services. but i have problem that i dont know the modem settings means is require any specific setting to handle this task(for ex. any SMTP,POP3 Configration etc.). below i put little code which i develope to send a message. My GSM modem connect with the Server(Com1).

Please Let me know if further informatin is required.

Code
=====

With MSComm1
.CommPort = 1
.Settings = "9600,N,8,1"
.Handshaking = comRTS
.RTSEnable = True
.DTREnable = True
.RThreshold = 1
.SThreshold = 1
.InputMode = comInputModeBinary
.InputLen = 0
.PortOpen = True 'must be the last
End With
MSComm1.Output = "AT" & Chr$(13) & Chr(10)
MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr(10)
MSComm1.Output = "AT+CMGS= " & Chr(34) & "+1234567(Receipt Phone Number)" & Chr(34) & ",129" & Chr$(13) & Chr(10)
MSComm1.Output = "Testing..."
MSComm1.PortOpen = False

Please Help Me.

Thanks in Advance.

Regards & Thanks,
Dhaval Patel
Nov 21 '06 #1
  • viewed: 1054
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Simon Peng | last post: by
13 posts views Thread by Arsalan | last post: by
28 posts views Thread by Andy | last post: by
34 posts views Thread by Eric Wise | last post: by
12 posts views Thread by Leo Muller | last post: by
16 posts views Thread by Ben Hannon | last post: by
182 posts views Thread by Jim Hubbard | last post: by
25 posts views Thread by Sharrukin Amiri | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.