473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

to send and receive SMS from PC to Mobile using asp.net,C#

30
hi Frenz,

I have been assigned the task of sending and receiving sms from pc to mobile,using asp.net,c#. would be of great help if i can get help abt the concept behind this task and some code snippet. I came across few posts and articles on this topic but not able to get a clear picture. Frenz help me with the concept and code. Thanks in advance. Have a great day!

Cheers,
jai
Nov 28 '06 #1
1 6976
karthi84
271 100+
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.
Expand|Select|Wrap|Line Numbers
  1. private void checkBox1_CheckedChanged(object sender, System.EventArgs e)
  2.         {
  3.             if (checkBox1.Checked)
  4.                 sms1.Open(textBox3.Text);
  5.             else
  6.                 sms1.Close();
  7.         }
  8.  
  9.         private void button2_Click(object sender, System.EventArgs e)
  10.         {
  11.         sms1.Query();        
  12.         }
  13.  
  14.  
  15.         private void button1_Click(object sender, System.EventArgs e)
  16.         {
  17.             sms1.Send(textBox1.Text, textBox2.Text);
  18.         }
  19.  
  20.  
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...
Dec 22 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: **** KiteOregon **** | last post by:
I need to send & receive XML Document Objects via the Message Queue. We have several applications that insert XML Document Object into the message queue. This works with no problem. I am trying...
1
by: Kitchen Bin | last post by:
Hi. I am trying to use Sockets to do multiple Send and Receives via HTTP (not simultaneously). A first pair of Send/Receives works fine and sure enough I receive HTML back, but the next...
1
by: EppO | last post by:
I wrote a small server/client app. I created a class for my customized socket object using (synchronous) Sockets functions for both server and client use. When client connects to server, if It...
2
by: itshakeel2007 | last post by:
Hi i have Motorola N7 and have usb data cable.i want to communicate with my mobile using usb port.can anybody tell me how can i connect my mobile with usb port and how can i send/receive AT...
1
by: SRN | last post by:
Hi, I am doing the coding for send SMS from PC to Mobile Using GSM Modem in ASP.Net Framework 3. I am having SAMBA GSM modem and i am using the following code that is working fine. This...
2
by: ramanagosu | last post by:
Hi all, i am new to php please provide me how to send sms to any mobile using php with gateways and without gate ways thanks in advance cheers, Ramana
1
by: Sidhu v | last post by:
Dear experts,I am trying to receive messages from mobile phones using email id. Anyone know about,how to receive emails using plesk
3
by: ikbel borcheni | last post by:
Hi,I use serial line communication(RS232) to send/receive data using 2 PC. The port COM is opened succesfully but the problem is that read(reception) and write(sending) functions do not work(there is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.