Hello everyone,
My new project is on creating an sms application in c#. i Just need to know how much i need to get started and go ahead to create it. Collaborations with anyone else are highly welcome.
SMS APPLICATION IN C#
Page 1 of 15 Replies - 21259 Views - Last Post: 28 March 2011 - 10:30 PM
Replies To: SMS APPLICATION IN C#
#2
Re: SMS APPLICATION IN C#
Posted 18 May 2007 - 01:55 AM
generally what i need is just some kind of code to start with and tutorials. Thanks
#3
Re: SMS APPLICATION IN C#
Posted 19 May 2007 - 05:29 AM
tonyloop, on 18 May, 2007 - 09:55 AM, said:
generally what i need is just some kind of code to start with and tutorials. Thanks
If you need tutorials then Google has the answers :-)
Actually, there is a web service http://www.webservic...world.asmx?WSDL which looks quite promising, although they don't include the UK yet
Using a web service is very easy from .NET so this might be the best direction for you to go in...
1. Start the Visual Studio 2005 Command Prompt.
2. Type this command: wsdl /out:c:\SmsServiceProxy.cs http://www.webservic...world.asmx?WSDL
This will create a C Sharp class file on the c: drive allowing you to use this web service and hopefully send SMS. If you would rather generate a VB class, then add the switch /language:VB.
Note: I cannot vouch for the security and/or reliability of this service!
#4
Re: SMS APPLICATION IN C#
Posted 26 June 2007 - 11:27 PM
tonyloop, on 18 May, 2007 - 01:55 AM, said:
I think u cn do this by using some API calls.
U can get some code from codeproject website, I have gonethrogh some code there they have got some implementation of API calls provided free by the sms site just like google API calls.
There is totally a use of javascript there, u can use that site.
U can get some code from codeproject website, I have gonethrogh some code there they have got some implementation of API calls provided free by the sms site just like google API calls.
There is totally a use of javascript there, u can use that site.
#5
Re: SMS APPLICATION IN C#
Posted 22 August 2007 - 12:19 PM
I think the best option is to use an SMS Gateway. It saves a lot time and pain. The following article gives information about how you can send SMS messages from C#:
C# SMS Gateway
C# SMS Gateway
#6
Re: SMS APPLICATION IN C#
Posted 28 March 2011 - 10:30 PM
JellyBean, on 19 May 2007 - 05:29 AM, said:
tonyloop, on 18 May, 2007 - 09:55 AM, said:
generally what i need is just some kind of code to start with and tutorials. Thanks
If you need tutorials then Google has the answers :-)
Actually, there is a web service http://www.webservic...world.asmx?WSDL which looks quite promising, although they don't include the UK yet
Using a web service is very easy from .NET so this might be the best direction for you to go in...
1. Start the Visual Studio 2005 Command Prompt.
2. Type this command: wsdl /out:c:\SmsServiceProxy.cs http://www.webservic...world.asmx?WSDL
This will create a C Sharp class file on the c: drive allowing you to use this web service and hopefully send SMS. If you would rather generate a VB class, then add the switch /language:VB.
Note: I cannot vouch for the security and/or reliability of this service!
sir, how do i use this webservice? i have done whatever you have mentioned, after that what to do ?
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
SmsTest.net.webservicex.www.SendSMS smsIndia=
new SmsTest.net.webservicex.www.SendSMS();
SmsTest.com.webservicex.www.SendSMSWorld smsWorld =
new SmsTest.com.webservicex.www.SendSMSWorld();
if(rdoType.SelectedValue == "1")
smsIndia.SendSMSToIndia(txtMobileNo.Text.Trim(),
txtEmailId.Text.Trim(), txtMessage.Text);
else
smsWorld.sendSMS(txtEmailId.Text.Trim(),
txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(),
txtMessage.Text);
lblMessage.Visible = true;
lblMessage.Text="Message Send Succesfully";
}
catch(Exception ex)
{
lblMessage.Visible = true;
lblMessage.Text="Error in Sending message"+ex.ToString();
}
}
private void rdoType_SelectedIndexChanged(
object sender, System.EventArgs e)
{
if(rdoType.SelectedValue =="1")
txtCountryCode.Enabled = false;
else
txtCountryCode.Enabled = false;
}
It gives the error: The namespace SmsTest not found?
MOD EDIT: When posting code...USE CODE TAGS!!!
This post has been edited by JackOfAllTrades: 29 March 2011 - 04:44 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|