Solved

send sms to any mobile from visual basic appln

Posted on 2001-08-01
6
445 Views
Last Modified: 2013-11-25
Please help me in building a application which can programmatically send a short message to a mobile device to any mobile in the world.

If this is not possible pls let me know how else can this be done as ultimately web site has to send sms

0
Comment
Question by:sapna10
6 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
Comment Utility
sapna10, this is becoming a popular question here. The following is a summary of your options as I understand them.

Purchase an SMS gateway package that can be used to send the messages and interact with it in whatever manner is appropriate.

For single SMS messages on an adhoc basis my sample project works using a dialup modem to a telecoms provider sms gateway. http://www.geocities.com/TimCottee goto downloads and get the SMS_Pager sample project.

For volume use, TellusTalk.com provide a gateway service which can receive an email sent using any standard email client and send this as SMS for a low price. You can test this by sending an email to +CCAAANNNN@esms.nu where +CC is country code, AAA is area code, NNNN is mobile number: +4477770123456@esms.nu would send to the UK mobile 07770123456.

Use the Nokia Data suite if you have a nokia phone or equivalent if available and use this to send sms using the tools provided. (This is definitely not cheap and not suitable for high volume traffic).

Hope this helps.
0
 
LVL 43

Expert Comment

by:TimCottee
Comment Utility
Forgot one other method, use one of the existing on-line sms gateways such as MTN-SMS.com and a webbrowser control to automate the sending of the message.
0
 
LVL 1

Expert Comment

by:shahzad73
Comment Utility

check out any online services which offer any solution to send SMS via emails. check out these links

www.iponotify.com
www.airmailcomm.com
www.iobox.com
www,vipmail.com
www.pager.street.com
www.sms-wap.com
www.mtnsms.com



Also u can use a SMS gateway for SMS. check out following link. they have a trial version.

http://www.internetsoftwaresolutions.org    




or u can develop your own Gateway in VB here is a sample tutorial. hope this will help

Shahzad







Tutorial: Sending SMS Messages from Terminal Devices
Aug 08, 2000
Al Pritchard, Sr. Mobile Application Developer, Satama


Sending an SMS text message to a cellular phone from a terminal device is a simple affair, as the following code fragments demonstrate. The phone used in this example is a Nokia 7100 series, and the ME (mobile equipment) is linked to the computer via communications port #1.
Also note that the Ctrl-Z necessary for terminating the text entry sent to the mobile device is copied from the terminal session and then added to the code.

To send an SMS text message to a Nokia phone with Visual Basic:

     ' Set up the communications port
     MSComm1.CommPort = 1 ' Com Port 1

     ' Set for 9600 baud, no parity, 8 data, and 1 stop bit.
     MSComm1.Settings = "9600,N,8,1"

     ' Tell the control to read entire buffer when Input is used
     MSComm1.InputLen = 0

     ' Open the port
     MSComm1.PortOpen = True

     ' Send an 'AT' command to the phone
     MSComm1.Output = "AT" & Chr$(13) & Chr(10)
     ' The phone will respond with an 'OK'

     ' Set up the phone for a text message
     MSComm1.Output = "AT+CMGF=1" & Chr$(13) & Chr(10)
     ' The phone will respond with an 'OK'

     ' Prep for SMS, give destination type and destination address.
     ' Enter the destination type and destination address to prep for SMS
     ' e.g. AT+CMGS="+2145551212",129
     MSComm1.Output = "AT+CMGS= " & Chr(34) & "+2145551212" & Chr(34) & ",129" & Chr$(13) & Chr(10)
     ' The phone will return a'>' prompt, and await entry of the SMS message text.

     ' Now send the text to the phone and terminate with (Ctrl-Z)
     MSComm1.Output = "This is a test. WOW! "
     ' The phone will respond with a conformation containing the 'message reference number' eg. +CMGS:

     ' Close the port
     MSComm1.PortOpen = False
From a terminal, it would look like this:

     AT
     OK
     AT+CMGF=1
     OK
     AT+CMGS="+15127752607",129
     >This is a test. WOW!
     +CMGS: 49

     OK
For more information on sending SMS text messages, review the GSM 07.05 white paper that's at available from the ETSI Web site. For information on Nokia specific options for SMS and 'Smart Messaging,' go to http://www.forum.nokia.com/ and log in to the Smart Messaging forum.







0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Expert Comment

by:shahzad73
Comment Utility
to use the above code a GSM phone should be directed connected to the terminal through serial cable

Shahzad
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi sapna10,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Split points between: TimCottee and shahzad73

sapna10, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
Comment Utility
Per recommendation, force-accepted.

Netminder
CS Moderator

shahzad73: points for you at http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20335183
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now