Send SMS with VB .net SMS Script

VB .net SMS messaging is one of the services we offer. Here we'll show you how to use our SMS gateway in VB .net. Take the SMS VB .net script code below to send SMS via Developers' Central. Simply register for an account, and you will automatically receive 10 FREE SMS credits to try our service.

Code to send SMS in VB .net:

Imports System
Imports System.IO
Imports System.Net
Imports System.Text
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Dim sURL As String
Dim objReader As StreamReadersURL=" message&route=1"

Dim sResponse As WebRequest
sResponse = WebRequest.Create(sURL)

Dim objStream As Stream
objStream = sResponse.GetResponse.GetResponseStream()
objReader = New StreamReader(objStream)
Catch ex As Exception
End Try
End Sub
End Class

Please note that some of the above code has been supplied to SMSGATEWAYHUB by clients. As such, accuracy is not guaranteed by SMSGATEWAYHUB.