Solved

sms component

Posted on 2001-08-12
4
242 Views
Last Modified: 2010-04-06
I have got "Dans SMS component" and i have a textbox called "text1"
and i have a memo called "message1" and a button.

Can someone please give me the code that i can use for this component
to get it to send the sms message using the textbox, memo and button


thanks
0
Comment
Question by:penfold69
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 100 total points
ID: 6378192
Hi,
drop a tsms on your form and delphi will add the uSMS to your uses but you also need to add usmsthread to the uses.



uses
 uSMS,usmsthread;

var
s : TSmsMessage;
begin
s.PhoneNo := edit1.text;;
s.TextMsg := edit2.text;
sms1.SendSMS(s);

will send your message.
ps,
i am not positive dansms still works with lycos as i am now on a proxy i cant use it..
but the code above is fine i used to use it myself regularly.if it doesnt work no longer its because lycos is either down or have changed there sms scripts etc..

Regards Barry
0
 
LVL 3

Expert Comment

by:smurff
ID: 6379211
listening
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 6387427
Listening too ...
0
 
LVL 7

Expert Comment

by:God_Ares
ID: 6394930
listening?

Ahh you are using a dail up connection and when you people are opeing this question you pick up the phone and listen to the nice sound :)

just kidding...

http://www.djernaes.dk/martin/sms.html

just a link hope it might help you.

regards. Floris
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question