none
sending sms without using sms provider gateway in vb.net

    Question

  • I want to know how to send the sms from vb.net application without using sms provider gateway. i want to send sms through web. its very urgent. pls explain me. Thanks in advance
    Tuesday, June 02, 2009 11:08 AM

All replies

  • Hi lvensen,

    there are some sample for Sending /receiving SMS messages.

    Sending SMS using .NET through Web service
     http://www.codeproject.com/KB/aspnet/SendingSMS.aspx



    private void Send_Click(object sender, System.EventArgs e)  
    {  
        try  
        {  
            SmsTest.net.webservicex.www.SendSMS smsIndia=   
                  new SmsTest.net.webservicex.www.SendSMS();  
            SmsTest.com.webservicex.www.SendSMSWorld smsWorld =    
             new SmsTest.com.webservicex.www.SendSMSWorld();  
            if(rdoType.SelectedValue == "1")  
                smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(),   
                        txtEmailId.Text.Trim(), txtMessage.Text);  
            else   
                smsWorld.sendSMS(txtEmailId.Text.Trim(),   
                        txtCountryCode.Text.Trim(),   
                        txtMobileNo.Text.Trim(), txtMessage.Text);  
            lblMessage.Visible = true;  
            lblMessage.Text="Message Send Succesfully";  
        }  
        catch(Exception ex)  
        {  
            lblMessage.Visible = true;  
            lblMessage.Text="Error in Sending message"+ex.ToString();  
        }  
    }  
     
    private void rdoType_SelectedIndexChanged(object sender, System.EventArgs e)  
    {  
        if(rdoType.SelectedValue =="1")  
            txtCountryCode.Enabled = false;  
        else  
            txtCountryCode.Enabled = false;  

     
    How To Send and Receive SMS using GSM Modem
    http://www.codeproject.com/KB/cs/SMS.aspx

    An SMPPLIB with COM Support
    http://www.codeproject.com/KB/library/smpplib.aspx


    http://www.codeproject.com/KB/vb/AT_commands.aspx


    Best wishes
    Xingwei Hu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Monday, June 08, 2009 3:12 AM
  • I used this link  http://www.codeproject.com/KB/aspnet/SendingSMS.aspx
    In this link, i got the error "Service not found".
    And i used another one link http://www.codeproject.com/KB/vb/AT_commands.aspx
    In this link, it does not produce any results. Pls help me. Its very urgent. Thanks in advance.
    Monday, June 08, 2009 5:17 AM
  • you could look this similar question, As Pieter Joost van de Sande said that, wishes give you a help.
    http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/d1c9a1cc-8f03-47bb-91e5-7d127ac2fd63


    the simplest way is to buy a cheap cellphone and connect this to you COM-port. Now you can read the text messages with an interval
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Monday, June 08, 2009 5:58 AM
  • Is it possible to send sms without connecting the mobile or sms gateway provider?  If possible, pls give the code or links. Pls give ur suggesttions. Thanks in advance.
    Monday, June 08, 2009 10:37 AM