Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Coding to send text messages to cellular telephone

Status
Not open for further replies.

draugen

Programmer
Nov 24, 2004
48
0
0
NO
Is there a vb 6.0 coding to send text messages to cellular telephone? I know this can be done, but how would one go about coding this process in vb 6..0

Many Thanks ahead of time. :->

Christian
 
Easiest way is to have your cell phone provider assign an e-mail address to your sms and then send an e-mail to [cell number]@vodafone.net or whatever your provider format.
:)

[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
 
Thanks MakeItSo, but I mean via an SMS modem (I think it is called).
 
I have made a program that should send a SMS message to a cellular telephone, using a SMS modem.
 
Does anyone know of a way I can do this?
 

You should be able to send a text message from the Internet. I have done it many times seatting at my desk in Central US and texting someone in Europe :)

It is simple going to a web site, filling the cell phone number you want to sent a message 'to', cell phone 'from' and a message, and click 'Send'

Check with your cell phone provided and see if you can do the same here.

Have fun.

---- Andy
 
SMS Modem?


Ok, you need to send AT commands to that modem.

AT commands originated with Hayes Microcomputer Products, and are a way of sending commands to a modem inline with other transmission data. The original set of commands has been extended over the years, and one area they cover is SMS

So in essence all you need to do is send data to the COM port that the modem is attached to.

And that's it.

Here's a list of AT command related to SMS:

SMS text mode Command Description
AT+CSMS Select message service
AT+CPMS Preferred message storage
AT+CMGF Message format
AT+CSCA Service centre address
AT+CSMP Set text mode parameters
AT+CSDH Show text mode parameters
AT+CSCB Select cell broadcast message types
AT+CSAS Save settings
AT+CRES Restore settings
AT+CNMI New message indications to TE
AT+CMGL List messages
AT+CMGR Read message
AT+CMGS Send message
AT+CMSS Send message from storage
AT+CMGW Write message to memory
AT+CMGD Delete message

SMS PDU ode Command Description
AT+CMGL List Messages
AT+CMGR Read message
AT+CMGS Send message
AT+CMGW Write message to memory




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top