locked
How to send the SMS using vb.net RRS feed

  • Question

  • Hello Friends

            i developing windows desktop application in vb.net  for sending SMS through internet, but i have no idea about that. so plz help me for writing this code.

     

    Irshad

     

    Monday, November 27, 2006 12:42 PM

Answers

  • That is correct there is no SMS APIs in the framework.  Typically ones uses a webservice provided by a carrier for a fee.  There is a lot of information out on the web about this topic and in fact this same question has been posted a number of times on this forum.
    Wednesday, December 6, 2006 7:08 AM

All replies

  • Hi, well there is nothing directly to send SMS in .NET framework, so first of all you will need to contact a provider to get access to some components or webservices for using it to send, usually mobile provider companies has something, so ask mobile providers in your country.

    After that it will be just using that webservice or component.

    Anyway, for this kind of questions is better to go to the VB.NET development forums, where you will get lot of VB.NET help, as this forum is related only for Team System issues.

    Good luck.

    Wednesday, November 29, 2006 9:22 AM
  • That is correct there is no SMS APIs in the framework.  Typically ones uses a webservice provided by a carrier for a fee.  There is a lot of information out on the web about this topic and in fact this same question has been posted a number of times on this forum.
    Wednesday, December 6, 2006 7:08 AM
  •  

    • Proposed as answer by bdbodger Thursday, December 16, 2010 1:41 PM
    Thursday, August 23, 2007 11:46 AM
  • You can send sms from internet using vb.net 
    follow these steps ....

    dim url as string="http://www.9nodes.com/API/sendsms.php?"
    dim userId as string="userid"
    dim password as string="pword"



    request = DirectCast(WebRequest.Create(url & "username=" & userId & "password=" & password & "from=" & TxtFrom.Text & "&to=" & TxtToNumber.Text & "&msg=" & TxtMessage.Text & "&type=1 "), HttpWebRequest)

     

     

    response = DirectCast(request.GetResponse(), HttpWebResponse)

    MessageBox.Show(

    "Response: " & response.StatusDescription).





    Surya Bhaskar...

    • Proposed as answer by Surya Bhaskar Saturday, November 21, 2009 11:23 AM
    Saturday, November 21, 2009 11:23 AM
  • but will you send deepy...??
    Thursday, April 26, 2012 10:49 AM
  • Can u send webapplication of this code...

    because it gave an error.....

    my email-id somaniketan74@gmail.com

    i hope u will send....

    thnx......

    Friday, December 14, 2012 2:40 PM