Hi!
I am 11 year old and i am giving you a tip!
Well as you can see sending an sms is a tough job but here is the code:
Try
'Connect to the database
Dim conn As New OleDb.OleDbConnection()
conn.ConnectionString = "Provider=SQLNCLI;Server=.\;" & "User ID=ozekiuser;password=ozekipass;Database=ozeki;Persist Security Info=True"
conn.Open()
If conn.State = ConnectionState.Open Then
'Send the message
Dim cmd As New OleDb.OleDbCommand()
cmd.Connection = conn
Dim SQLInsert As String = (("INSERT INTO " & "ozekimessageout (receiver,msg,status) " & "VALUES " & "('") + tbsender.Text & "','") + tbmsg.Text & "','send')"
cmd.CommandText = SQLInsert
cmd.ExecuteNonQuery()
MessageBox.Show("Message sent")
End If
'Disconnect from the database
conn.Close()
Catch ex As Exception
' MessageBox.Show(ex.Message)
End Try This works in your country but sadly not in my country - india
Happy Coding
TheMasterThigMaker