Solved

sms component

Posted on 2001-08-12
4
235 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now