Results 1 to 3 of 3

Thread: Send SMS whitt VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Posts
    1

    Talking Send SMS whitt VB

    hi everyone,

    i am trying an application where a visual basic program can communicate with mobile phones.

    I would like to know how to give AT commands in visual basic code. how can a visual basic program identify if a mobile is connected to a serial port or no..

    bye
    Nuno

  2. #2
    Hyperactive Member
    Join Date
    Apr 1999
    Location
    Prague, Czech Republic
    Posts
    350
    Maybe MSCOM ocx can help you. Very useful is \SAMPLES\COMPTOOL\MSCOMM example.

    But you have to know AT commands.

  3. #3
    New Member
    Join Date
    Jun 2001
    Location
    Thirst is nothing, Image is Everything!
    Posts
    8
    This would be a simple dial command for a modem, it stems from old basic, but it still works! Here goes:

    code:

    Open "COM1:9600,n,8,1" for RANDOM as #1
    Print #1, "ATDT 5551212"
    'A delay added here phone will disconnect upon close
    Close #1

    I don't know if that helps, but I hope it did! Good Luck!

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