|
oviyaa wrote: am a Final year MCA Student...
But you don't know how to use a search engine ?
There is no built in SMS support, so you need to find a library that supports it. Which makes your project a joke, all you will do is call some SDK that you didn't write. Choose something else. This time, not at random, but based on what you know how to do, and will make your teachers happy.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Thenmozhi,
We shaal help you , but can you tell us where are you stuck (any exception or bug ) or are you still to start , if that the case than you need to decide one way out of the following ways available.
There are few options to select from when it comes to sending an SMS to multiple user using your computer , i would list few of them
1) You can use SMS Gateways , there are many gateways (websites) available which allows to send sms at nominal rate , you need to go to this websites , register , buy credit , they provide you with set of function which you can use and send SMS , it is different for different providers ,for list of such providers you can google "SMS Gateways".
2) The second way is to connect your mobile phone to the computer and send SMS (you can connect you phone to computer using comm port ) when the SMS is send it is routed through your mobile , to send SMS using your phone you need to use AT command set. Your phone has a GSM modem in it (most of the phone have) this modem understand commands called as AT commands , using this command set you can send SMS through your phone from your PC , there are many controls available to do this stuff , but if you dont want to purchase it and write the code by our self you have to learn few AT commands (not very hard) and serial port programming (again it is not very hard ). Here is an example, also you can goolge "Sending SMS using GSM Modem" or "Sending SMS using AT command set" to get more info on this.
http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx[^]
3) There are GSM modem available in market , which comes with the software to send SMS to multiple recipient (please confirm this with the vendor before purchasing one) , this kind of device cost you in the range of 100$-200$ , and is easily available.
This is all for now , let me know if you require any further details.
-Regards
Bharat Jain
bharat.jain.nagpur@gmail.com
|
|
|
|
|
if (SMSPort.IsOpen == true)
{
SMSPort.WriteLine("AT" + (char)(13));
SMSPort.ReadLine();
Delay(3000);
if (SMSPort.ReadLine().Contains("OK"))
{
SMSPort.WriteLine("AT+CMGS=" + strRPhNo + (char)(13));
Delay(2000);
SMSPort.WriteLine(" " + strALL + (char)(26));
do
{
Delay(100);
if (SMSPort.ReadLine().Contains("OK"))
{
SMSPort.WriteLine("ATQ0" + (char)(13));
return true;
}
}
while(iTmeOut<10) ;
SMSPort.WriteLine("ATQ0" + (char)(13));
strErrLog = "Message Not Send " + DateTime.Now;
return false;
}
else
{
SMSPort.WriteLine("ATQ0" + (char)(13));
strErrLog = "Modem not Reponding" + DateTime.Now;
return false;
}
}
else
{
strErrLog = "Port is Closed" + DateTime.Now;
return false;
}
}
this part of code may help
|
|
|
|
|
SMSPort = new SerialPort();
SMSPort.PortName = COMMPORT;
SMSPort.BaudRate = 4800;
SMSPort.Parity = Parity.Even;
SMSPort.DataBits = 7;
SMSPort.StopBits = StopBits.One;
SMSPort.Handshake = Handshake.RequestToSend;
SMSPort.DtrEnable = true;
SMSPort.RtsEnable = true;
SMSPort.NewLine = System.Environment.NewLine;
|
|
|
|
|
Hi Sir thankyou very much for ur reply... Now i download the sample project and work with them.I connect my mobile (Sony Ericsson w200) with PC via USB DataCable.Application shows perfect connection with PC and Mobile.But it won't send/receive any commands......I check commands (AT) with hyperterminal...It rise the following error
When i send AT commands as follows
AT
OK
ATE1
OK
AT+CMGF=1
+CMS: 303 ERROR
and also i check with application it throws following error message as,
"Phone Reports Generic Communication Error or Syntax Error"
I check with GSMComm Library means it throws following error
"Phone Reports Generic Communication Error or Syntax Error"
[GsmComm.GsmCommunication.CommException]
kindly guide me how to i proceed this project further....
Thankyou
|
|
|
|
|
How to i establish the connection with PC and GSM Mobile(Sony Ericsson W200) what are way to establish the connection with PC and Mobile.....
For that connection what are the requirements need? whether i install any specific drivers for my modem....
Guide Me
|
|
|
|
|
|
Hi
can any one send me the links of some samples on System.Drawing or on Pens, brushes, colors and fonts?
ravi vellanki
|
|
|
|
|
Microsoft have so much money, they can afford to run websites with documentation and so on. There's also a site called code project, it has tons of articles, you may have heard of it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how to import excel sheet datas into sql server2005 using asp.net
|
|
|
|
|
Google is working properly!!!
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Hi,
I want to create one Window service Framework which actually needs act like space where we can run more than one service dynamically. I need to start and stop control for every control that need to be triggered from Service Framework. Every service has to run in their own space.
If any one has thoughts please put it on my way....
Thanks
|
|
|
|
|
Nike.....
Just do it.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Kind of a Service manager application? Hmmm...
I wonder why you would need such flexibility.
On my last job I had the Services configured in a database. I had a number of Services running on various servers and the ServiceInstaller on each server queried the database to find out which Services to run on that server. Once installed, I had an application that could show the status and start and stop the Services on the various servers. All the Services on a server run as one process and share a log file.
If I wanted to add or remove a Service from a server, I had to uninstall and reinstall the ServiceInstaller, which was fine because I didn't have to do that very often.
Each Service also updates the database with event times (start, stop, etc.) so other processes can monitor the health of the Services. The Services get their cyclic rates from the database, so that can be changed on-the-fly (now I might use a custom action for that).
Are you thinking of a more flexible version of that, where services can also be installed and uninstalled on a server without affecting the others?
|
|
|
|
|
Well, What my point is, basically i want to run only one Windows Service from that i should be able to other services (let's say another DLL which has some functionality) every service need to run on its own space means threading.
Any thoughts ?
|
|
|
|
|
Ok, that's basically what I do.
I have a DLL for each service and one process that loads them dynamically.
I populate an array with the loaded services and call ServiceBase.Run Method (ServiceBase[])[^]
Each service becomes a thread of the process, but that's built into the framework, I didn't have to do anything to make that happen.
|
|
|
|
|
string input = "- plum-pear- tyu";
string pattern = "(-)|( )";
string[] substrings = Regex.Split(input, pattern); // Split on hyphens
foreach (string match in substrings)
{
Console.WriteLine("'{0}'", match);
}
the above code gives out some null tokens.... how to cleanse it.. pls help
the quieter u become more u hear
|
|
|
|
|
lawrenceinba wrote: "- plum-pear- tyu";
Do you see the whitespace in the input string (in between - and p & - and t)? You may want to remove it.
string input = "-plum-pear-tyu";
Be careful, there is no Undo Button(Ctrl+Z) in life.
|
|
|
|
|
no space comes before -
the quieter u become more u hear
|
|
|
|
|
It looks like it in the code you pasted before.
Try this:
string[] substrings = Regex.Split(input.Replace(" ", ""), pattern);
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
hi friends,,,please help me that..i want to create action buttons same as in powerpoint action buttons..
|
|
|
|
|
You want to create custom controls ? OK, off you go then.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello, I need to show thumbnails for lets say, 4000 .jpg files in a SD card, is there a simple way to read the thumbnail embedded in the Exif of the JPEG file header.
I'm asking this 'cause calling Image.GetThumbnailImage is gonna take forever
thanks
|
|
|
|
|
|
That seemed pretty cool the thing is, it is still too slow.
I set the folder view to thumbnails in Windows Explorer and it takes forever to display the thumbnails.
Right now I'm testing that, and after 10 min, only 3 thumbnails have been shown.
I need something to extract the JPEG exif thumbnail.
but thanks
|
|
|
|