hi jai,
this can be easily done by using .net frame work 2.0. it has a lot of inbuilt features for this. i think this code may be useful for u which i got when i was searching for me.
-
private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
-
{
-
if (checkBox1.Checked)
-
sms1.Open(textBox3.Text);
-
else
-
sms1.Close();
-
}
-
-
private void button2_Click(object sender, System.EventArgs e)
-
{
-
sms1.Query();
-
}
-
-
-
private void button1_Click(object sender, System.EventArgs e)
-
{
-
sms1.Send(textBox1.Text, textBox2.Text);
-
}
-
-
here the check box is to enable connection with the mobile through a specified port which is obtained using textBox3.
button 2 is used to test whether the querry modem is working or not.
button 1 is used for sending the sms.
check it out. regards.... have a good day...