Tuesday, July 5, 2011

Sample VB.NET SMS application using AT commands


In this post I will be showing you a demonstration on sending and receiving SMS using VB.NET and AT commands. The previews post talks about how you can make your own SMS gateway software with the use of AT commands and VB.NET. The use of your own mobile phone as a GSM modem you can make an application that would send SMS and eliminate the cost of buying an SMS gateway application for your small project.

I uploaded a video demo of the project mentioned in the previews post. This is a VB.NET SMS window form application. Enjoy the video! Cheers! 






There are a lot more techniques to improve this project. I am thinking about an application that would open an automated door lock with just a single SMS. Something like "COMAND = OPEN PASSWORD = z5a2q6a". We can also shut down our computer with an SMS command and a lot more. Feel free to explore and integrate AT commands in other languages such as C#, JAVA, PHP and many more.  


19 comments:

  1. sir, can you send the codes/application??

    ReplyDelete
  2. the code for vb is written in the previews post.. http://learning-web-programming.blogspot.com/2011/07/sending-sms-with-vbnet-and-at-commands_04.html

    ReplyDelete
  3. Try creating the project on your own. We can try to discuss here if you cant achieve the desired result.

    ReplyDelete
  4. my thesis is about student attendance monitoring system my thesis scenario is "the student enters the campus she or he must scan his or her id using barcode scanner then his/her information show on the screen and the sms will send to his/her parent that she or he arrive at school with time and date?"

    ReplyDelete
  5. An SMS always have a date and time. I dont see any problem about that.

    ReplyDelete
  6. the actual date and time when the student scans their id. . .the date and time will be the body of my message for example good evening your son "name" arrived at school at 10:02 pm 7/31/2011 . .

    ReplyDelete
  7. It depends on your design or on the barcode algorithm that you are using. You can use a button event as well. For example the button(Validate) will trigger an event that would validate the Student ID from the barcode with that of the database. If the result of the validation is true, then simply call the function to sent SMS. Provide the string for the SMS. Example:

    strSMS = "NAME arrive at school at" & Date.Now().toString()

    Where strSMS is the body of your message.

    ReplyDelete
  8. sir what is rtxtto.Text????in connsms???

    ReplyDelete
  9. hello i try your code and im using vs 2008, my problem is i have an error here "For Each msg As Class2 In objShortMessageCollection" the error message is Expression is of type 'Object', which is not a collection type? and idea? and what is the rtxtto, and last one did you use datagridview to load the messages?

    ReplyDelete
  10. Sir,.can i integrate database with it? the database is more on the time and date of the recieve message,..

    ReplyDelete
  11. sir can i have the codes for receiving?

    ReplyDelete
  12. Olá amigo, eu preciso de um programinha e gostaria de saber se é capaz de fazer e quanto irá custar, bom, preciso do seguinte: o programa é semelhante a este que você postou porem preciso que tenha Data e hora para enviar as mensagem, quando inserido o numero de telefone, assim que clicar em enviar preciso que ele envie uma mensagem na mesma hora, e altomaticamente outro um dia antes da data marcada e outro 2 horas antes do horário marcado, pode me enviar o valor pelo e-mail: vagnerpmota@bol.com.br
    grato.

    ReplyDelete
  13. anu po ung "ConnSMS.SendMsg.Text" nagkaerror po ako dyan, sia ba un datagridview? or another textbox?

    ReplyDelete
  14. 50$ for SEND AND RECEIVED SMS USING MODEM.

    VB .NET SOURCE CODE.

    IF want then contact me..........................(semdsr@yahoo.com)

    ReplyDelete
  15. hello sir can i have your codes and aplication for my project sir
    just send it to my email
    rye_adolfo@yahoo.com
    thanks

    ReplyDelete
  16. I have a project to help farmers get information by sending sms and will receive auto message back based on sent message for example information such a maize price in the market and can do so in any ordinary language.. send me help on sonnicholas@aol.com.

    ReplyDelete
  17. sir, can you send the demo codes/application??
    neo_lover2000@yahoo.com.thanks

    ReplyDelete
  18. Good day! blogger..

    We have the same mind thinking of different kind of application that can open/close door using sms, I would like to learn a lot from you sir/mam if ever you conduct a tutorial,, I hope you will response to my request...

    Thank you, God bless and more power to your blogs.

    Best wishes,

    Jerome

    ReplyDelete
  19. Nice Great Tutorial ^^ anyway do you know affordable but quality web development company in the Philippines

    ReplyDelete

You might also like:

Related Posts Plugin for WordPress, Blogger...