Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text Messaging (SMS) for VFP 2

Status
Not open for further replies.

LouisC4

Programmer
Jul 26, 2003
54
US
Can anyone recomend a good SMS ActiveX or App. for VFP?

What's the best reliable way to go about sending SMS through VFP?

Thanks in advance,

Louis
 
Hello LouisC4,

This is SMS via http. I think it can help u

************************************************************
*---------------------
* Author: Bill Too
* Mobile SMS Demo
*---------------------
Clear
Declare INTEGER InternetGoOnline IN wininet STRING lpszURL, INTEGER hwndParent, INTEGER dwReserved
Declare INTEGER GetActiveWindow IN user32
*------------------------------------
lcPhone = "13007320505" && Mobile No.
lcSname = "Bill Too" && Receiver
lcSnoto = "1" && 1:Miss 2:Mr
lcSbody = "How are u:" + chr(13) + chr(10) ;
+ "Mobile SMS System (Testing)" + chr(13) + chr(10) ;
+ " Bill Too" + chr(13) + chr(10) ;
+ " 2005?05?09?"
* --- Parameters ---
HWnd = GetActiveWindow()
lcUrl = " ;
+ "?gsm_no=" + lcPhone ;
+ "&mobile_type=C" ;
+ "&firstname=" + lcSname ;
+ "&title=" + lcSnoto ;
+ "&message=" + lcSbody
* --- Send Message ---
? InternetGoOnline (lcUrl, hwnd, 0)

clea dlls
Return
* &&
** &&
*------------------------------------------------
*!* *!* lcUrl = " ;
*!* + "?gsm_no=" + lcPhone ;
*!* + "&mobile_type=C" ;
*!* + "&firstname=" + lcSname ;
*!* + "&title=" + lcSnoto ;
*!* + "&message=" + lcSbody
 
Hi KcToo,

Interesting posting. Could it be that this is only working in PROC? I cant get it started, maybe that's also because there is very little explication about your code and on the lcUrl I get a page cannot be found. The directs me straight to China. ????

Koen
 
china website it a free just only working in china. But some ISP provide free SMS services on mobile phone and webpage. It is depends on your ISP.
 
KcToo,

I hope Louis can do something with your answer, I dont live in China (unfortunately)

Bi bi,
Koen

 
LouisC4,

Just as an FYI, we just started doing some text messaging at our company. But we don't send messages directly to the recipients. We send a file to a third party vendor and they send the desired message.
The reason is that they have approval and specs from various cell service providers and are able to send the messages.
Since most cell phone providers as of now, totally abhor spam and 'war dialers', they won't let just anyone send a message to just any phone, especially in bulk.
If you are allowed/have permission to send mesages to a certain set of phones, you can basically use an email client to do it.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Mike,

Nice link, pitty MS developped only for XP and not for W2K.

Koen
 
how can we embed this utility to VFP applications ? is there any OCX or DLL for this ?

TIA

Soykan OEZCELIK
 
how can we embed this utility to VFP applications ? is there any OCX or DLL for this ?

* forgot to say Microsoft SMS Sender :)

TIA

Soykan OEZCELIK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top