Send SMS Through VB6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: Send SMS Through VB6

  1. #1
    Join Date
    Aug 2006
    Posts
    2

    Question Send SMS Through VB6

    Hi.............
    How to send SMS and MMS to mobile through VB 6.0 coding?

  2. #2
    Join Date
    Apr 2007
    Posts
    16

    How to send sms through VB6 using MSCOMM

    Try this

    Place MSCOMM control on form

    Sub SendSMS(MobileNumber as string,Message as string)
    MSCOMM1.commport=1 'select the port it may change case to case
    MSCOMM1.portopen=true ' Open port
    MSCOMM1.output="AT+CMGS=" & MobileNumber & Chr$(13) 'mobile number and enter character
    MSCOMM1.output="AT+CMGS=" & Message & Chr$(26) ' Message and ctrl+z character
    Sleep 1000 ' USE API
    End Sub

  3. #3
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263

  4. #4
    Join Date
    Sep 2009
    Posts
    4
    Link invalid pls provide real 1

  5. #5
    Join Date
    Aug 2004
    Location
    Orange, California
    Posts
    1,263

  6. #6
    Join Date
    Jun 2006
    Posts
    290
    Sorry to bring up an old thread, I am currently working on this at the moment and was a bit curious as to the way the message is sent. Would it be an SMS message like a text message, or would this be more for MMS such as sending to a mobile email (6025551212@mymobileprovider.com) I personally use cricket and I know we have 2 addresses. Primary being 6025551212@mycricket.com and MMS is 6025551212@mms.mycricket.com. (obviously using the information phone number so I dont have to provide my own here). Thanks in advance for any thoughts.

Similar Threads

  1. send long sms via gsm modem
    By swy456 in forum Mobile
    Replies: 14
    Last Post: 12-11-2012, 07:41 AM
  2. Replies: 2
    Last Post: 05-04-2006, 10:23 AM
  3. How to send a message from VB6
    By bigpuffo in forum VB Classic
    Replies: 5
    Last Post: 01-29-2006, 11:16 PM
  4. Send SMS
    By albinjoseph in forum Java
    Replies: 3
    Last Post: 08-29-2005, 02:38 AM
  5. Send Notifications from .NET to VB6
    By Peter Oravec in forum .NET
    Replies: 0
    Last Post: 03-30-2005, 01:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center