Solved

sms component

Posted on 2001-08-12
4
233 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
Comment Utility
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
Comment Utility
listening
0
 
LVL 6

Expert Comment

by:wimmeyvaert
Comment Utility
Listening too ...
0
 
LVL 7

Expert Comment

by:God_Ares
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

7 Experts available now in Live!

Get 1:1 Help Now