vb.net - How to send free SMS from vb .net application? -


i want send free sms vb .net application through way2sms account. if possible, please give me step step instruction on how accomplish that.

try

protected sub btn_click(sender object, e eventargs) try      send("way2sms_userid", "way2sms_password", txtxmsg.text, txtphn.text)     response.write("message send successfully......") catch     response.write("error occured!!!") end try end sub  public sub send(uid string, password string, message string, no string) dim myreq httpwebrequest = directcast(webrequest.create("http://ubaid.tk/sms/sms.aspx?uid=" & uid & "&pwd=" & password & "&msg=" & message & "&phone=" & no & "&provider=way2sms"), httpwebrequest) dim myresp httpwebresponse = directcast(myreq.getresponse(), httpwebresponse) dim respstreamreader new system.io.streamreader(myresp.getresponsestream()) dim responsestring string = respstreamreader.readtoend() respstreamreader.close() myresp.close() end sub 

Comments