Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Send SMS through COM

This is a discussion on Send SMS through COM within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am trying to retrieve, data from port7 and pass it to another computer through SMS, from port1 of same ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Send SMS through COM

    I am trying to retrieve, data from port7 and pass it to another computer through SMS, from port1 of same computer.I am using 2 comm controls for same purpose.MSComm1 is commected to port1
    and MSComm2 is connected to port2.Now my problem is that, i am able to retrieve data from port1,
    but i am not able to SMS it to other computer.ReadMsg(MessageNo) is the procedure to send SMS.
    The program do not show any error, but it foes not send SMS either.On debugging, the control passes
    through SendMsg() procedure, but do not send SMS.I am attaching the code with my query.
    Do anybody have any idea?
    Regards,
    BN

    Private sub SendMsg(GPs)
    Dim Gpos
    On error goto a
    MSComm2.PortOpen = False
    MSComm1.output = "AT+CMGF=1" & vbCr
    Gpos = GPs & Chr$(26)
    MSCOmm1.output = "AT+CMGS=5903635" & vbCr
    MSComm1.output = Gpos
    Exit sub
    a:
    Msgbox "Cannot send SMS"
    end sub

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    syntiax

    the right command is.... at+cmgs="1234567"
    the " character must be before and after the telefon number

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Are you trying to send the SMS through a land line or a cell phone?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Enfora GSM2218 Modem - Send Message to
    By vkugel in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 08-12-2008, 07:59 AM
  2. How to send events to the MapPoint Control (in C#) ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-25-2004, 07:17 AM
  3. ? Send Behind roads using the programmatic interface
    By spideybud in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-13-2003, 03:21 PM
  4. How does Microsoft send you updates on MapPoint 20....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-21-2001, 07:53 AM
  5. How do I send you information to be updated for yo....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-19-2001, 08:48 AM

Tags for this Thread

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66