Results 1 to 15 of 15

Thread: Sending SMS from VB application

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    2

    Sending SMS from VB application

    hi

    I need to send SMS to mobile phones from vb application. is it possible to send SMS without internet connection, only with a modem. give me some solution to do this. if it is not possible to send SMS without internet, then give me a solution with internet. Or if we can send with MScomm control and Modem please give me that solution

    Roopesh

  2. #2
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172
    Well i am not sure how to do this, but i know it is possible i saw some apps to do this . try searching planet source code ( http://www.planetsourcecode.com ) and look over there... maybe somebody has created a similar thing.
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  3. #3
    New Member
    Join Date
    Nov 2002
    Location
    Sydney - Australia
    Posts
    14
    You can SMS via a mobile using the MScomm control in your app.

    The question is what mobile phone you using. This will determine if the supports AT commands or if it has a custom command set.

    I am working on an app for the Nokia 5110 phone which has a custom set of commands.

    When I have finished the project it will be posted on this site and on my homepage when completed.

  4. #4
    New Member
    Join Date
    Nov 2002
    Posts
    7

    suggestion

    my colleagues tried that last year but with limited success....

    nokia fones don't respond to raw at+commands right? how bout using an ericsson or siemens fone... it will simplify your design greatly because nokia fones have thier proprietary codes (which is conveniently not available ) while at+commands are freely available. i am by the way planning to work on a similar system....

    anyways just a suggestion, hope it helps.

  5. #5
    New Member
    Join Date
    Nov 2002
    Location
    Sydney - Australia
    Posts
    14
    The older nokia phones did not support AT commands, but the new models do


    Is it possible for colleagues to post their info and code on thier limited success with the phone that they used? What model phone using?

  6. #6
    New Member
    Join Date
    Nov 2002
    Posts
    7
    hi!

    they didnt use vb in their project, actually it wasnt even based on a pc but on a microcontroller system. what they didnt realize before is that they need to install some nokia drivers so the fone will obey the at commands. at present im working on a pc-based system and have installed the necessary software. i can control my 5110 through hyperterminal. my only hurdle now is making a hyperterminal-like program in vb. i'm done with the sending part, my problem is on receiving the fone's reply. seems my oncomm handler isnt working so fine yet... anyways hows your project going?

    -sonya

  7. #7
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170
    You can do it through simplewire's network, but they do charge you for the use:

    http://www.simplewire.com/

  8. #8
    New Member
    Join Date
    Nov 2002
    Posts
    7
    hi!

    after browsing the forums i think i've figured out whats wrong with my code ,i'm gonna try it tonight. hey philip, your post is interesting... so how exactly do we use simplewire.com to send the sms? thanx in advace.

    -sonya
    Last edited by sonya_79; Nov 23rd, 2002 at 11:38 PM.

  9. #9
    Addicted Member
    Join Date
    Oct 1999
    Location
    Dallas,TX
    Posts
    170
    They provide an activex control that you can use to easily send a message. Really easy to use, but again, it's kinda an expensive alternative. Although, they do have massive network support

  10. #10
    New Member
    Join Date
    Nov 2002
    Posts
    7

    ahh... ok

    philip:

    so its expensive? then that rules out the simplewire.com alternative hehehe... i guess i'd stick to the original plan of connecting a gsm fone through the serial port. it's simpler and cost effective (since i'm not expecting very heavy sms traffic anyway). thanx for the info.

    -sonya

    btw, where can i find sample code on interfacing a modem?

  11. #11
    New Member
    Join Date
    Nov 2002
    Posts
    7

    Talking success!

    hi peeps!

    thanx for all peeps who gave me much needed input and advice on my project. finally its done! i interfaced a 5110 to a PC and my program automatically responds depending on the message it receives. anyway, thanx again!

    -sonya

  12. #12
    Fanatic Member Geespot's Avatar
    Join Date
    Oct 2001
    Location
    Birmingham, UK
    Posts
    577
    Hi

    I have a nokia 3210, old i know, but does what i want, i also have a cable to connect it to my pc.
    And im interested in this kind of thing that you are doing, but how would i write a program to connect to the phone? What do i need? any specific API's? ocx? etc etc

    Thanks

  13. #13
    New Member
    Join Date
    Nov 2002
    Location
    Sydney - Australia
    Posts
    14
    Another alternative to the simplewire activex control is to download Nokia's PC Connectivity SDK V2.1 which contains their DLL's to communicate with the phone. It has examples that show you what to do. I have already written a simple VB project to send SMS with it, but at the moment I can not find it to post it but when I do I will.


    A note for Sonya_79, you mentioned that your friends where trying to implement their project in a microcontroller. The reason for me trying to make a VB project for SMS is to study the communications between the PC and phone and try to achieve the same results in a microcontroller.

    Is it possible to find out more info about this project of theirs?

  14. #14
    New Member
    Join Date
    Nov 2002
    Location
    Sydney - Australia
    Posts
    14
    This message is in relation to my previous post about the VB6 project sending SMS via a COM port using Nokia's PC Connectivity SDK


    Here is my code
    Attached Files Attached Files

  15. #15
    Lively Member anjanesh's Avatar
    Join Date
    Nov 2002
    Location
    Nerul, Navi Mumbai, India
    Posts
    68

    sms mscomm

    Trying out VB .NET 2005 Express

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width