Solved

sms component

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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